[ox/std] Fix hardware detection for GCC on ARM64

This commit is contained in:
Gary Talent 2022-02-19 01:34:43 -06:00
parent f9c3c17592
commit dc2a5039f8

View File

@ -12,7 +12,7 @@
#define OX_ARCH_x86_64 #define OX_ARCH_x86_64
#elif defined(__i386__) || defined(_M_IX86) #elif defined(__i386__) || defined(_M_IX86)
#define OX_ARCH_x86_32 #define OX_ARCH_x86_32
#elif defined(__arm64__) #elif defined(__arm64__) || defined(__aarch64__)
#define OX_ARCH_ARM64 #define OX_ARCH_ARM64
#elif defined(__arm__) #elif defined(__arm__)
#define OX_ARCH_ARM #define OX_ARCH_ARM