forked from mirror/openmw-tes3mp
[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)
|
||||
cout << "32-bit";
|
||||
#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
|
||||
cout << "Unknown architecture";
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue