Fix #if macros for idx64 and id386

This commit is contained in:
Thilo Schulz 2011-06-15 14:10:20 +00:00
parent a5035841d2
commit a447aa82af
6 changed files with 53 additions and 47 deletions

View file

@ -90,9 +90,9 @@ cvar_t *com_basegame;
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);
@ -2580,11 +2580,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();
@ -2601,7 +2601,7 @@ static void Com_DetectSSE(void)
Q_VMftol = qvmftolsse;
Com_Printf("Have SSE support\n");
#ifndef idx64
#if !idx64
}
else
{