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 "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 MMX_ASM
|
#ifdef USE_PLATFORM_ACCEL
|
||||||
# include "2xscalers_mmx.h"
|
# ifndef __APPLE__
|
||||||
#endif
|
// 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
|
typedef enum
|
||||||
|
|||||||
Reference in New Issue
Block a user