mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
More concise bitness check
This commit is contained in:
parent
a0938bdd24
commit
e30832216f
1 changed files with 6 additions and 11 deletions
|
|
@ -3448,17 +3448,12 @@ static void Command_Version_f(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Bitness
|
// Bitness
|
||||||
#if defined(_WIN64)
|
if (sizeof(void*) == 4)
|
||||||
CONS_Printf("x64 ");
|
CONS_Printf("32-bit ");
|
||||||
#elif defined(_WIN32)
|
else if (sizeof(void*) == 8)
|
||||||
CONS_Printf("x86 ");
|
CONS_Printf("64-bit ");
|
||||||
#elif defined(NONX86)
|
else // 16-bit? 128-bit?
|
||||||
CONS_Printf("Non-x86 ");
|
CONS_Printf("Bits Unknown ");
|
||||||
#elif defined(LINUX)
|
|
||||||
CONS_Printf("x86 ");
|
|
||||||
#else
|
|
||||||
CONS_Printf("Bits Unknown ");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// No ASM?
|
// No ASM?
|
||||||
#ifdef NOASM
|
#ifdef NOASM
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue