forked from len0rd/rockbox
sdl: gut non-Rockbox platform detection code
This should prevent false positives when simulators for other systems (e.g. win32). Change-Id: Ib14a277fbfeb1b0ae141ebc4591d80a2cc0f526d
This commit is contained in:
parent
c2139db6c5
commit
711ddfdaad
2 changed files with 4 additions and 93 deletions
|
@ -26,22 +26,10 @@
|
|||
#include "SDL_platform.h"
|
||||
|
||||
/* Add any platform that doesn't build using the configure system */
|
||||
#if defined(__DREAMCAST__)
|
||||
#include "SDL_config_dreamcast.h"
|
||||
#elif defined(__MACOS__)
|
||||
#include "SDL_config_macos.h"
|
||||
#elif defined(__MACOSX__)
|
||||
#include "SDL_config_macosx.h"
|
||||
#elif defined(__SYMBIAN32__)
|
||||
#include "SDL_config_symbian.h" /* must be before win32! */
|
||||
#elif defined(__WIN32__)
|
||||
#include "SDL_config_win32.h"
|
||||
#elif defined(__OS2__)
|
||||
#include "SDL_config_os2.h"
|
||||
#elif defined(__ROCKBOX__)
|
||||
#if defined(__ROCKBOX__)
|
||||
#include "SDL_config_rockbox.h"
|
||||
#else
|
||||
#include "SDL_config_minimal.h"
|
||||
#error This SDL supports Rockbox only!
|
||||
#endif /* platform config */
|
||||
|
||||
#endif /* _SDL_config_h */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue