summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon')
-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(
""