use __ARM_EABI__, not __arm__

This is sort of pedantic and old OABI systems are unlikely to ever run zig.
master
Shawn Landden 2019-03-27 01:18:58 +00:00
parent 65e234adfd
commit 084724c689
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
#define ZIG_ARCH_X86_64 #define ZIG_ARCH_X86_64
#elif defined(__aarch64__) #elif defined(__aarch64__)
#define ZIG_ARCH_ARM64 #define ZIG_ARCH_ARM64
#elif defined(__arm__) #elif defined(__ARM_EABI__)
#define ZIG_ARCH_ARM #define ZIG_ARCH_ARM
#else #else
#define ZIG_ARCH_UNKNOWN #define ZIG_ARCH_UNKNOWN