Commit 0d679261 authored by Tor Arne Vestbø's avatar Tor Arne Vestbø
Browse files

Use __aarch64__ instead of __arm64__ to detect AArch64

The latter name was used by Apple in their internal AArch64 LLVM backend,
but has since been merged into LLVM upstream and renamed to AArch64.

https://github.com/llvm-mirror/llvm/commit/29f94c72014eaa5d0d3b920686e68



Change-Id: I319f42f07c95dfbcd121134fbe6e554e2d36453d
Reviewed-by: default avatarThiago Macieira <thiago.macieira@intel.com>
parent e8f1b991
Branches
Tags
No related merge requests found
Showing with 2 additions and 2 deletions
...@@ -87,9 +87,9 @@ ...@@ -87,9 +87,9 @@
ARM is bi-endian, detect using __ARMEL__ or __ARMEB__, falling back to ARM is bi-endian, detect using __ARMEL__ or __ARMEB__, falling back to
auto-detection implemented below. auto-detection implemented below.
*/ */
#if defined(__arm__) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(__arm64__) #if defined(__arm__) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(__aarch64__)
# define Q_PROCESSOR_ARM # define Q_PROCESSOR_ARM
# if defined(__arm64__) # if defined(__aarch64__)
# define Q_PROCESSOR_ARM_64 # define Q_PROCESSOR_ARM_64
# else # else
# define Q_PROCESSOR_ARM_32 # define Q_PROCESSOR_ARM_32
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment