1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

[Server] Use __ARM_ARCH definition for detecting ARM

This commit is contained in:
Koncord 2017-07-04 15:56:40 +08:00
parent b847914d6f
commit 1f3cbb46e2

View file

@ -47,7 +47,7 @@ void printVersion(string version, Version::Version ver, int protocol)
cout << "64-bit"; cout << "64-bit";
#elif defined(__i386__) || defined(_M_I86) #elif defined(__i386__) || defined(_M_I86)
cout << "32-bit"; cout << "32-bit";
#elif defined(__arm__) #elif defined(__ARM_ARCH)
cout << "ARMv" << __ARM_ARCH << " "; cout << "ARMv" << __ARM_ARCH << " ";
#ifdef __aarch64__ #ifdef __aarch64__
cout << "64-bit"; cout << "64-bit";