mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-07 15:51:34 +00:00
[Server] Fix printVersion() for ARM
This commit is contained in:
parent
a75da18f31
commit
3d88e657cd
1 changed files with 6 additions and 1 deletions
|
@ -44,7 +44,12 @@ void printVersion(string version, int protocol)
|
||||||
#elif defined(__i386__) || defined(_M_I86)
|
#elif defined(__i386__) || defined(_M_I86)
|
||||||
cout << "32-bit";
|
cout << "32-bit";
|
||||||
#elif defined(__arm__)
|
#elif defined(__arm__)
|
||||||
cout << "ARMv" << __ARM_ARCH << " " << (__aarch64__ ? "64-bit" : "32-bit");
|
cout << "ARMv" << __ARM_ARCH << " ";
|
||||||
|
#ifdef __aarch64__
|
||||||
|
cout << "64-bit";
|
||||||
|
#else
|
||||||
|
cout << "32-bit";
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
cout << "Unknown architecture";
|
cout << "Unknown architecture";
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue