summaryrefslogtreecommitdiff
path: root/src/qcommon/common.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-15 14:10:20 +0000
committerTim Angus <tim@ngus.net>2013-01-09 23:17:48 +0000
commit8d2637896e07f1454da7a92c40ae41b59562690f (patch)
tree1f274d3049e3b7e191e5c53759787628813f7f6c /src/qcommon/common.c
parentde6fb40acfee5249de71899a46824181154abf86 (diff)
Fix #if macros for idx64 and id386
Diffstat (limited to 'src/qcommon/common.c')
-rw-r--r--src/qcommon/common.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qcommon/common.c b/src/qcommon/common.c
index c5f49ace..02689141 100644
--- a/src/qcommon/common.c
+++ b/src/qcommon/common.c
@@ -87,9 +87,9 @@ cvar_t *com_abnormalExit;
cvar_t *com_homepath;
cvar_t *com_busyWait;
-#if defined(idx64)
+#if idx64
void (*Q_VMftol)(void);
-#elif defined(id386)
+#elif id386
long (QDECL *Q_ftol)(float f);
void (QDECL *Q_VMftol)(void);
void (QDECL *Q_SnapVector)(vec3_t vec);
@@ -2457,11 +2457,11 @@ Find out whether we have SSE support for Q_ftol function
=================
*/
-#if defined(id386) || defined(idx64)
+#if id386 || idx64
static void Com_DetectSSE(void)
{
-#ifndef idx64
+#if !idx64
cpuFeatures_t feat;
feat = Sys_GetProcessorFeatures();
@@ -2478,7 +2478,7 @@ static void Com_DetectSSE(void)
Q_VMftol = qvmftolsse;
Com_Printf("Have SSE support\n");
-#ifndef idx64
+#if !idx64
}
else
{