include/SDL_main.h
changeset 8500 f25ef28d61e8
parent 8480 733f78caa9cb
child 8517 d7d86c917b1d
equal deleted inserted replaced
8499:00e397f1b7a8 8500:f25ef28d61e8
    38    If you provide your own WinMain(), you may define SDL_MAIN_HANDLED
    38    If you provide your own WinMain(), you may define SDL_MAIN_HANDLED
    39  */
    39  */
    40 #define SDL_MAIN_AVAILABLE
    40 #define SDL_MAIN_AVAILABLE
    41 
    41 
    42 #elif defined(__WINRT__)
    42 #elif defined(__WINRT__)
    43 /* On Windows RT, SDL provides a main function that initializes CoreApplication,
    43 /* On WinRT, SDL provides a main function that initializes CoreApplication,
    44    creating an instance of IFrameworkView in the process.
    44    creating an instance of IFrameworkView in the process.
    45 
    45 
    46    Please note that #include'ing SDL_main.h is not enough to get a main()
    46    Please note that #include'ing SDL_main.h is not enough to get a main()
    47    function working.  The file, src/main/windowsrt/SDL_WinRT_main.cpp, or a copy
    47    function working.  The file, src/main/windowsrt/SDL_WinRT_main.cpp, or a copy
    48    of it, must be compiled into the app itself.
    48    of it, must be compiled into the app itself.