summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-21 12:32:43 +0000
committerTim Angus <tim@ngus.net>2013-01-10 21:47:35 +0000
commit49e79b120ab36b6835ceeb0a64d2930cdb8201e6 (patch)
treec05a67fdfbc55a106b5f915b1bbc369e1a66383f
parentac87c93b4b25ed8d55c00b5b9c854ec29330bbce (diff)
Fix x64 compilation on MSVC
-rw-r--r--src/qcommon/vm_x86.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qcommon/vm_x86.c b/src/qcommon/vm_x86.c
index 34d5d43e..a424949d 100644
--- a/src/qcommon/vm_x86.c
+++ b/src/qcommon/vm_x86.c
@@ -414,7 +414,8 @@ static void DoSyscall(void)
vm_t *savedVM;
-#if defined(_MSC_VER) && !idx64
+#if defined(_MSC_VER)
+ #if !idx64
__asm
{
mov dword ptr syscallNum, eax
@@ -423,6 +424,7 @@ static void DoSyscall(void)
mov dword ptr opStackBase, edi
mov dword ptr arg, ecx
}
+ #endif
#else
__asm__ volatile(
""