aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/vm.c
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-04 22:32:00 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-04 22:32:00 +0000
commit11e5099eb7abb2e016527795ffd32c5094e5324f (patch)
tree3de0470c8544b681df252ad1c5e3724320b54d9c /code/qcommon/vm.c
parent657f95c6a5d8a24df0c1a206eb32f54985c7b4fe (diff)
downloadioquake3-aero-11e5099eb7abb2e016527795ffd32c5094e5324f.tar.gz
ioquake3-aero-11e5099eb7abb2e016527795ffd32c5094e5324f.zip
* Replaced a bunch of inline and __inline with ID_INLINE
* Replaced a bunch of __i386__ with id386 * General tidy up of asm preprocessor decisions * Removed C_ONLY from the dedicated server build git-svn-id: svn://svn.icculus.org/quake3/trunk@269 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/vm.c')
-rw-r--r--code/qcommon/vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/qcommon/vm.c b/code/qcommon/vm.c
index 86cfeb7..8f3e7a3 100644
--- a/code/qcommon/vm.c
+++ b/code/qcommon/vm.c
@@ -330,7 +330,7 @@ Dlls will call this directly
============
*/
long QDECL VM_DllSyscall( long arg, ... ) {
-#if ((defined __GNUC__) && !(defined __i386__))
+#if !id386
// rcg010206 - see commentary above
long args[16];
int i;
@@ -738,7 +738,7 @@ long QDECL VM_Call( vm_t *vm, long callnum, ... ) {
args[4], args[5], args[6], args[7],
args[8], args[9]);
} else {
-#ifdef __i386__ // i386 calling convention doesn't need conversion
+#if id386 // i386 calling convention doesn't need conversion
#ifndef NO_VM_COMPILED
if ( vm->compiled )
r = VM_CallCompiled( vm, (int*)&callnum );