Go to the documentation of this file.
33 #ifndef SDL_MAIN_HANDLED
34 #if defined(__WIN32__)
40 #define SDL_MAIN_AVAILABLE
42 #elif defined(__WINRT__)
52 #define SDL_MAIN_NEEDED
54 #elif defined(__IPHONEOS__)
60 #define SDL_MAIN_NEEDED
62 #elif defined(__ANDROID__)
68 #define SDL_MAIN_NEEDED
71 #define SDLMAIN_DECLSPEC DECLSPEC
73 #elif defined(__NACL__)
80 #define SDL_MAIN_NEEDED
91 #ifndef SDLMAIN_DECLSPEC
92 #define SDLMAIN_DECLSPEC
110 #if defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE)
111 #define main SDL_main