src/stdlib/SDL_getenv.c
changeset 5062 e8916fe9cfc8
parent 3697 f7b03b6838cb
child 5086 c2539ff054c8
--- a/src/stdlib/SDL_getenv.c	Thu Jan 20 17:33:06 2011 -0800
+++ b/src/stdlib/SDL_getenv.c	Thu Jan 20 18:04:05 2011 -0800
@@ -25,7 +25,7 @@
 
 #ifndef HAVE_GETENV
 
-#if defined(__WIN32__) && !defined(_WIN32_WCE)
+#if defined(__WINDOWS__) && !defined(_WIN32_WCE)
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
@@ -163,7 +163,7 @@
     return value;
 }
 
-#endif /* __WIN32__ */
+#endif /* __WINDOWS__ */
 
 #endif /* !HAVE_GETENV */