[quake3-commits] r2049 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jun 21 08:32:43 EDT 2011


Author: thilo
Date: 2011-06-21 08:32:43 -0400 (Tue, 21 Jun 2011)
New Revision: 2049

Modified:
   trunk/code/qcommon/vm_x86.c
Log:
Fix x64 compilation on MSVC

Modified: trunk/code/qcommon/vm_x86.c
===================================================================
--- trunk/code/qcommon/vm_x86.c	2011-06-21 11:45:34 UTC (rev 2048)
+++ trunk/code/qcommon/vm_x86.c	2011-06-21 12:32:43 UTC (rev 2049)
@@ -413,7 +413,8 @@
 
 	vm_t *savedVM;
 
-#if defined(_MSC_VER) && !idx64
+#if defined(_MSC_VER)
+  #if !idx64
 	__asm
 	{
 		mov	dword ptr syscallNum, eax
@@ -422,6 +423,7 @@
 		mov	dword ptr opStackBase, edi
 		mov	dword ptr arg, ecx
 	}
+  #endif
 #else
 	__asm__ volatile(
 		""



More information about the quake3-commits mailing list