include/SDL_platform.h
changeset 8358 3511af7671fd
parent 8352 deef25f5fce1
child 8365 83e5a0c5f77b
equal deleted inserted replaced
8357:8d788bb003f2 8358:3511af7671fd
   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)
   135 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
   136 #undef __WINRT__
   136 #undef __WINRT__
   137 #define __WINRT__ 1
   137 #define __WINRT__ 1
   138 #endif
   138 #endif
   139 #endif
   139 #endif /* if ! defined(WINAPI_FAMILY_PARTITION) ; else */
   140 #endif
   140 #endif /* if defined(WIN32) || defined(_WIN32) */
   141 
       
   142 /*
       
   143 #if ! defined(WINAPI_FAMILY_PARTITION) || ! WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
       
   144 #undef __WIN32__
       
   145 #define __WIN32__	1
       
   146 #error win32_defined
       
   147 #endif
       
   148 #endif
       
   149 #if defined(WINAPI_FAMILY_PARTITION) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
       
   150 #undef __WINRT__
       
   151 #define __WINRT__	1
       
   152 #error winrt_defined
       
   153 #endif
       
   154 */
       
   155 
   141 
   156 #if defined(__NDS__)
   142 #if defined(__NDS__)
   157 #undef __NINTENDODS__
   143 #undef __NINTENDODS__
   158 #define __NINTENDODS__	1
   144 #define __NINTENDODS__	1
   159 #endif
   145 #endif