Use more generic preprocessor macro 64bit

__x86_64__ is only for Intel __LP64__ and _LP64 are for any arch that has 64bit `long int` and pointers, and 32bit `int` same as Intel.
This commit is contained in:
Tim Eves 2019-02-26 11:40:44 +07:00 committed by Darcy Wong
parent d94c84dc4b
commit 674917f2bc

View file

@ -10,7 +10,7 @@
#define strncasecmp _strnicmp
#endif
#if __x86_64__
#if defined(__LP64__) || defined(_LP64)
/* 64-bit, g++ */
#define KMX_64BIT
#endif