src/stdlib/SDL_getenv.c
changeset 1402 d910939febfa
parent 1379 c0a74f199ecf
child 1433 bb6839704ed6
--- a/src/stdlib/SDL_getenv.c	Tue Feb 21 08:34:45 2006 +0000
+++ b/src/stdlib/SDL_getenv.c	Tue Feb 21 08:46:50 2006 +0000
@@ -19,12 +19,13 @@
     Sam Lantinga
     slouken@libsdl.org
 */
+#include "SDL_config.h"
 
 #include "SDL_stdinc.h"
 
 #ifndef HAVE_GETENV
 
-#if defined(WIN32) && !defined(_WIN32_WCE)
+#if defined(__WIN32__) && !defined(_WIN32_WCE)
 
 #include "SDL_windows.h"
 
@@ -169,7 +170,7 @@
 	return value;
 }
 
-#endif /* WIN32 */
+#endif /* __WIN32__ */
 
 #endif /* !HAVE_GETENV */