mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
More concise bitness check
This commit is contained in:
parent
1ea2fa447a
commit
c5b349ddc4
1 changed files with 6 additions and 11 deletions
|
@ -3448,17 +3448,12 @@ static void Command_Version_f(void)
|
|||
#endif
|
||||
|
||||
// Bitness
|
||||
#if defined(_WIN64)
|
||||
CONS_Printf("x64 ");
|
||||
#elif defined(_WIN32)
|
||||
CONS_Printf("x86 ");
|
||||
#elif defined(NONX86)
|
||||
CONS_Printf("Non-x86 ");
|
||||
#elif defined(LINUX)
|
||||
CONS_Printf("x86 ");
|
||||
#else
|
||||
CONS_Printf("Bits Unknown ");
|
||||
#endif
|
||||
if (sizeof(void*) == 4)
|
||||
CONS_Printf("32-bit ");
|
||||
else if (sizeof(void*) == 8)
|
||||
CONS_Printf("64-bit ");
|
||||
else // 16-bit? 128-bit?
|
||||
CONS_Printf("Bits Unknown ");
|
||||
|
||||
// No ASM?
|
||||
#ifdef NOASM
|
||||
|
|
Loading…
Reference in a new issue