Fix MacOSX builds (not SDL_cpuinfo.h in OSX SDL framework)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1974 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2005-11-09 04:25:32 +00:00
parent 279cdf5672
commit 9b65379250
+7 -2
View File
@@ -18,14 +18,19 @@
#include "types.h" #include "types.h"
#include "libs/graphics/sdl/sdl_common.h" #include "libs/graphics/sdl/sdl_common.h"
#include SDL_INCLUDE(SDL_cpuinfo.h)
#include "libs/platform.h" #include "libs/platform.h"
#include "scalers.h" #include "scalers.h"
#include "scaleint.h" #include "scaleint.h"
#include "2xscalers.h" #include "2xscalers.h"
#ifdef USE_PLATFORM_ACCEL
# ifndef __APPLE__
// MacOS X framework has no SDL_cpuinfo.h for some reason
# include SDL_INCLUDE(SDL_cpuinfo.h)
# endif
# ifdef MMX_ASM # ifdef MMX_ASM
# include "2xscalers_mmx.h" # include "2xscalers_mmx.h"
#endif # endif /* MMX_ASM */
#endif /* USE_PLATFORM_ACCEL */
typedef enum typedef enum