From 8d2637896e07f1454da7a92c40ae41b59562690f Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 15 Jun 2011 14:10:20 +0000 Subject: Fix #if macros for idx64 and id386 --- src/qcommon/common.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/qcommon/common.c') 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 { -- cgit