WinRT: fixed Win32 builds by prevented __WINRT__ from being defined
authorDavid Ludwig <dludwig@pobox.com>
Sun, 25 Nov 2012 14:45:04 -0500
changeset 836583e5a0c5f77b
parent 8364 ba0d913b6459
child 8366 dc1f2c7ed164
WinRT: fixed Win32 builds by prevented __WINRT__ from being defined
include/SDL_platform.h
     1.1 --- a/include/SDL_platform.h	Sat Nov 24 12:07:35 2012 -0500
     1.2 +++ b/include/SDL_platform.h	Sun Nov 25 14:45:04 2012 -0500
     1.3 @@ -130,9 +130,8 @@
     1.4  #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
     1.5  #undef __WIN32__
     1.6  #define __WIN32__ 1
     1.7 -#endif
     1.8 +#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
     1.9  /* Include WinRT / Windows Store APIs in SDL, if available: */
    1.10 -#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
    1.11  #undef __WINRT__
    1.12  #define __WINRT__ 1
    1.13  #endif