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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jun 15 22:01:13 EDT 2011


Author: thilo
Date: 2011-06-15 22:01:13 -0400 (Wed, 15 Jun 2011)
New Revision: 2033

Modified:
   trunk/code/qcommon/vm_x86.c
Log:
Fix wrong macro. MSVC win32 build should work again now.

Modified: trunk/code/qcommon/vm_x86.c
===================================================================
--- trunk/code/qcommon/vm_x86.c	2011-06-16 01:26:17 UTC (rev 2032)
+++ trunk/code/qcommon/vm_x86.c	2011-06-16 02:01:13 UTC (rev 2033)
@@ -413,8 +413,7 @@
 
 	vm_t *savedVM;
 
-#ifdef _MSC_VER
-  #ifndef idx64
+#if defined(_MSC_VER) && !idx64
 	__asm
 	{
 		mov	dword ptr syscallNum, eax
@@ -423,7 +422,6 @@
 		mov	dword ptr opStackBase, edi
 		mov	dword ptr arg, ecx
 	}
-  #endif
 #else
 	__asm__ volatile(
 		""



More information about the quake3-commits mailing list