WinRT: cleanups in SDL_platform.h
authorDavid Ludwig <dludwig@pobox.com>
Fri, 23 Nov 2012 00:02:27 -0500
changeset 8358 3511af7671fd
parent 8357 8d788bb003f2
child 8359 80700b50c17a
WinRT: cleanups in SDL_platform.h
include/SDL_platform.h
--- a/include/SDL_platform.h	Thu Nov 22 23:12:06 2012 -0500
+++ b/include/SDL_platform.h	Fri Nov 23 00:02:27 2012 -0500
@@ -136,22 +136,8 @@
 #undef __WINRT__
 #define __WINRT__ 1
 #endif
-#endif
-#endif
-
-/*
-#if ! defined(WINAPI_FAMILY_PARTITION) || ! WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
-#undef __WIN32__
-#define __WIN32__	1
-#error win32_defined
-#endif
-#endif
-#if defined(WINAPI_FAMILY_PARTITION) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
-#undef __WINRT__
-#define __WINRT__	1
-#error winrt_defined
-#endif
-*/
+#endif /* if ! defined(WINAPI_FAMILY_PARTITION) ; else */
+#endif /* if defined(WIN32) || defined(_WIN32) */
 
 #if defined(__NDS__)
 #undef __NINTENDODS__