diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-06-16 02:01:13 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 21:28:22 +0000 |
commit | e1f31b969a05dce1480d7283bf953e3604bbe15b (patch) | |
tree | e7696309d28ab76181c1918466efecd770110354 | |
parent | 5d8925bbaffaf95c49cdcf363b536acc9f7b9f40 (diff) |
Fix wrong macro. MSVC win32 build should work again now.
-rw-r--r-- | src/qcommon/vm_x86.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qcommon/vm_x86.c b/src/qcommon/vm_x86.c index b6b301e2..34d5d43e 100644 --- a/src/qcommon/vm_x86.c +++ b/src/qcommon/vm_x86.c @@ -414,8 +414,7 @@ static void DoSyscall(void) vm_t *savedVM; -#ifdef _MSC_VER - #ifndef idx64 +#if defined(_MSC_VER) && !idx64 __asm { mov dword ptr syscallNum, eax @@ -424,7 +423,6 @@ static void DoSyscall(void) mov dword ptr opStackBase, edi mov dword ptr arg, ecx } - #endif #else __asm__ volatile( "" |