include/SDL_platform.h
changeset 7856 cb37776926ad
parent 7678 286c42d7c5ed
child 7981 6d538bc1b395
child 8535 e8ee0708ef5c
--- a/include/SDL_platform.h	Sun Oct 20 23:38:19 2013 -0400
+++ b/include/SDL_platform.h	Sun Oct 20 20:41:30 2013 -0700
@@ -121,8 +121,12 @@
 #define __SOLARIS__ 1
 #endif
 #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
+#undef __WINDOWS__
+#define __WINDOWS__   1
+#endif
+#if defined(__WINDOWS__)
 #undef __WIN32__
-#define __WIN32__   1
+#define __WIN32__ 1
 #endif
 #if defined(__PSP__)
 #undef __PSP__