WinRT: cleanups in SDL_platform.h
authorDavid Ludwig <dludwig@pobox.com>
Fri, 23 Nov 2012 00:02:27 -0500
changeset 83583511af7671fd
parent 8357 8d788bb003f2
child 8359 80700b50c17a
WinRT: cleanups in SDL_platform.h
include/SDL_platform.h
     1.1 --- a/include/SDL_platform.h	Thu Nov 22 23:12:06 2012 -0500
     1.2 +++ b/include/SDL_platform.h	Fri Nov 23 00:02:27 2012 -0500
     1.3 @@ -136,22 +136,8 @@
     1.4  #undef __WINRT__
     1.5  #define __WINRT__ 1
     1.6  #endif
     1.7 -#endif
     1.8 -#endif
     1.9 -
    1.10 -/*
    1.11 -#if ! defined(WINAPI_FAMILY_PARTITION) || ! WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
    1.12 -#undef __WIN32__
    1.13 -#define __WIN32__	1
    1.14 -#error win32_defined
    1.15 -#endif
    1.16 -#endif
    1.17 -#if defined(WINAPI_FAMILY_PARTITION) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
    1.18 -#undef __WINRT__
    1.19 -#define __WINRT__	1
    1.20 -#error winrt_defined
    1.21 -#endif
    1.22 -*/
    1.23 +#endif /* if ! defined(WINAPI_FAMILY_PARTITION) ; else */
    1.24 +#endif /* if defined(WIN32) || defined(_WIN32) */
    1.25  
    1.26  #if defined(__NDS__)
    1.27  #undef __NINTENDODS__