WinRT: fixed SDL_main-related linker error when __WINRT__ is defined in an app
authorDavid Ludwig <dludwig@pobox.com>
Sun, 04 Nov 2012 13:17:18 -0500
changeset 833853c8cafb945a
parent 8336 0b9aa42be7ae
child 8339 aee5d42068ac
WinRT: fixed SDL_main-related linker error when __WINRT__ is defined in an app
include/SDL_main.h
     1.1 --- a/include/SDL_main.h	Sun Nov 04 09:02:58 2012 -0500
     1.2 +++ b/include/SDL_main.h	Sun Nov 04 13:17:18 2012 -0500
     1.3 @@ -30,7 +30,7 @@
     1.4   *  Redefine main() on some platforms so that it is called by SDL.
     1.5   */
     1.6  
     1.7 -#if defined(__WIN32__) || defined(__IPHONEOS__) || defined(__ANDROID__)
     1.8 +#if defined(__WIN32__) || defined(__WINRT__) || defined(__IPHONEOS__) || defined(__ANDROID__)
     1.9  #ifndef SDL_MAIN_HANDLED
    1.10  #define SDL_MAIN_NEEDED
    1.11  #endif