Fix #if macros for idx64 and id386
This commit is contained in:
parent
a5035841d2
commit
a447aa82af
6 changed files with 53 additions and 47 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue