use __ARM_EABI__, not __arm__
This is sort of pedantic and old OABI systems are unlikely to ever run zig.master
parent
65e234adfd
commit
084724c689
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue