mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-30 08:01:02 +00:00
Fix usage of wrong define in sys/cpu.cpp
This commit is contained in:
parent
468b266860
commit
a35d8c08b6
1 changed files with 3 additions and 3 deletions
|
@ -36,8 +36,8 @@ If you have questions concerning this license or the applicable additional terms
|
|||
|
||||
#include "sys/sys_public.h"
|
||||
|
||||
#ifdef NO_SSE
|
||||
#undef NO_SSE
|
||||
#ifdef NO_CPUID
|
||||
#undef NO_CPUID
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
|
@ -210,7 +210,7 @@ int Sys_GetProcessorId( void ) {
|
|||
if (SDL_HasSSE2())
|
||||
flags |= CPUID_SSE2;
|
||||
|
||||
#ifndef NO_SSE
|
||||
#ifndef NO_CPUID
|
||||
// there is no SDL_HasSSE3() in SDL 1.2
|
||||
if (HasSSE3())
|
||||
flags |= CPUID_SSE3;
|
||||
|
|
Loading…
Reference in a new issue