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:
@@ -18,14 +18,19 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "libs/graphics/sdl/sdl_common.h"
|
||||
#include SDL_INCLUDE(SDL_cpuinfo.h)
|
||||
#include "libs/platform.h"
|
||||
#include "scalers.h"
|
||||
#include "scaleint.h"
|
||||
#include "2xscalers.h"
|
||||
#ifdef MMX_ASM
|
||||
# include "2xscalers_mmx.h"
|
||||
#endif
|
||||
#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
|
||||
# include "2xscalers_mmx.h"
|
||||
# endif /* MMX_ASM */
|
||||
#endif /* USE_PLATFORM_ACCEL */
|
||||
|
||||
|
||||
typedef enum
|
||||
|
||||
Reference in New Issue
Block a user