diff options
Diffstat (limited to 'src/qcommon/q_platform.h')
-rw-r--r-- | src/qcommon/q_platform.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h index ddc8039d..85b176eb 100644 --- a/src/qcommon/q_platform.h +++ b/src/qcommon/q_platform.h @@ -25,6 +25,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define __Q_PLATFORM_H // this is for determining if we have an asm version of a C function +#define idx64 0 + #ifdef Q3_VM #define id386 0 @@ -77,7 +79,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if defined(_WIN64) || defined(__WIN64__) -#define idx64 +#undef idx64 +#define idx64 1 #undef QDECL #define QDECL __cdecl @@ -147,7 +150,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define ARCH_STRING "x86" #define Q3_LITTLE_ENDIAN #elif defined __x86_64__ -#define idx64 +#undef idx64 +#define idx64 1 #define ARCH_STRING "x86_64" #define Q3_LITTLE_ENDIAN #endif @@ -174,7 +178,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if defined __i386__ #define ARCH_STRING "x86" #elif defined __x86_64__ -#define idx64 +#undef idx64 +#define idx64 1 #define ARCH_STRING "x86_64" #elif defined __powerpc64__ #define ARCH_STRING "ppc64" @@ -237,7 +242,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifdef __i386__ #define ARCH_STRING "x86" #elif defined __amd64__ -#define idx64 +#undef idx64 +#define idx64 1 #define ARCH_STRING "amd64" #elif defined __axp__ #define ARCH_STRING "alpha" |