diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-06-01 15:17:18 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-09 22:37:40 +0000 |
commit | 22f9847cfff218661fc36d48bcc28117dec5cd14 (patch) | |
tree | 01b5b4e541849b9e5184bded4b2f836439eee74a /src/qcommon/q_platform.h | |
parent | 55232ad01e1a0a44aabda3d3aeb4764a9ecae822 (diff) |
- Add x86_64 support to vm_x86.c - Fix warning on mingw64
Diffstat (limited to 'src/qcommon/q_platform.h')
-rw-r--r-- | src/qcommon/q_platform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h index 3e9619ee..79b1c0c8 100644 --- a/src/qcommon/q_platform.h +++ b/src/qcommon/q_platform.h @@ -77,6 +77,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #if defined(_WIN64) || defined(__WIN64__) +#define idx64 + #undef QDECL #define QDECL __cdecl @@ -145,6 +147,7 @@ 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 #define ARCH_STRING "x86_64" #define Q3_LITTLE_ENDIAN #endif @@ -171,6 +174,7 @@ 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 #define ARCH_STRING "x86_64" #elif defined __powerpc64__ #define ARCH_STRING "ppc64" @@ -233,6 +237,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifdef __i386__ #define ARCH_STRING "x86" #elif defined __amd64__ +#define idx64 #define ARCH_STRING "amd64" #elif defined __axp__ #define ARCH_STRING "alpha" |