diff src/stdlib/SDL_getenv.c @ 5088:c2539ff054c8

Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jan 2011 15:46:11 -0800
parents e8916fe9cfc8
children 327f181542f1
line wrap: on
line diff
--- a/src/stdlib/SDL_getenv.c	Mon Jan 24 15:10:16 2011 -0800
+++ b/src/stdlib/SDL_getenv.c	Mon Jan 24 15:46:11 2011 -0800
@@ -25,7 +25,7 @@
 
 #ifndef HAVE_GETENV
 
-#if defined(__WINDOWS__) && !defined(_WIN32_WCE)
+#if defined(__WIN32__) && !defined(_WIN32_WCE)
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
@@ -163,7 +163,7 @@
     return value;
 }
 
-#endif /* __WINDOWS__ */
+#endif /* __WIN32__ */
 
 #endif /* !HAVE_GETENV */