diff include/SDL_compat.h @ 5062:e8916fe9cfc8

Fixed bug #925 Changed "win32" to "windows"
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jan 2011 18:04:05 -0800
parents f65299ded39c
children 25d4feb7c127
line wrap: on
line diff
--- a/include/SDL_compat.h	Thu Jan 20 17:33:06 2011 -0800
+++ b/include/SDL_compat.h	Thu Jan 20 18:04:05 2011 -0800
@@ -64,6 +64,12 @@
  */
 /*@{*/
 
+/* Platform */
+#ifdef __WINDOWS__
+#undef __WIN32__
+#define __WIN32__   1
+#endif
+
 /**
  *  \name Surface flags
  */