summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/include/SDL_config.h
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2019-07-28 13:58:16 -0400
committerFranklin Wei <franklin@rockbox.org>2019-07-28 13:59:32 -0400
commit711ddfdaad18cee054213bcba4428ac3c6014774 (patch)
treeb1be050ea60acf67a87663b00ece3ad9624050cf /apps/plugins/sdl/include/SDL_config.h
parentc2139db6c5cb235d05103602903ee5454a5f401e (diff)
downloadrockbox-711ddfdaad18cee054213bcba4428ac3c6014774.tar.gz
rockbox-711ddfdaad18cee054213bcba4428ac3c6014774.zip
sdl: gut non-Rockbox platform detection code
This should prevent false positives when simulators for other systems (e.g. win32). Change-Id: Ib14a277fbfeb1b0ae141ebc4591d80a2cc0f526d
Diffstat (limited to 'apps/plugins/sdl/include/SDL_config.h')
-rw-r--r--apps/plugins/sdl/include/SDL_config.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/apps/plugins/sdl/include/SDL_config.h b/apps/plugins/sdl/include/SDL_config.h
index af06f4917d..cc55fc479c 100644
--- a/apps/plugins/sdl/include/SDL_config.h
+++ b/apps/plugins/sdl/include/SDL_config.h
@@ -26,22 +26,10 @@
26#include "SDL_platform.h" 26#include "SDL_platform.h"
27 27
28/* Add any platform that doesn't build using the configure system */ 28/* Add any platform that doesn't build using the configure system */
29#if defined(__DREAMCAST__) 29#if defined(__ROCKBOX__)
30#include "SDL_config_dreamcast.h"
31#elif defined(__MACOS__)
32#include "SDL_config_macos.h"
33#elif defined(__MACOSX__)
34#include "SDL_config_macosx.h"
35#elif defined(__SYMBIAN32__)
36#include "SDL_config_symbian.h" /* must be before win32! */
37#elif defined(__WIN32__)
38#include "SDL_config_win32.h"
39#elif defined(__OS2__)
40#include "SDL_config_os2.h"
41#elif defined(__ROCKBOX__)
42#include "SDL_config_rockbox.h" 30#include "SDL_config_rockbox.h"
43#else 31#else
44#include "SDL_config_minimal.h" 32#error This SDL supports Rockbox only!
45#endif /* platform config */ 33#endif /* platform config */
46 34
47#endif /* _SDL_config_h */ 35#endif /* _SDL_config_h */