include/SDL_platform.h
changeset 8365 83e5a0c5f77b
parent 8358 3511af7671fd
child 8439 14d94a8a9fb6
equal deleted inserted replaced
8364:ba0d913b6459 8365:83e5a0c5f77b
   128 #else
   128 #else
   129 /* Include Win32 / Desktop App APIs in SDL, if available: */
   129 /* Include Win32 / Desktop App APIs in SDL, if available: */
   130 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
   130 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
   131 #undef __WIN32__
   131 #undef __WIN32__
   132 #define __WIN32__ 1
   132 #define __WIN32__ 1
   133 #endif
   133 #elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
   134 /* Include WinRT / Windows Store APIs in SDL, if available: */
   134 /* Include WinRT / Windows Store APIs in SDL, if available: */
   135 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
       
   136 #undef __WINRT__
   135 #undef __WINRT__
   137 #define __WINRT__ 1
   136 #define __WINRT__ 1
   138 #endif
   137 #endif
   139 #endif /* if ! defined(WINAPI_FAMILY_PARTITION) ; else */
   138 #endif /* if ! defined(WINAPI_FAMILY_PARTITION) ; else */
   140 #endif /* if defined(WIN32) || defined(_WIN32) */
   139 #endif /* if defined(WIN32) || defined(_WIN32) */