Mercurial > sdl-ios-xcode
diff src/stdlib/SDL_getenv.c @ 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 | f7b03b6838cb |
children | c2539ff054c8 |
line wrap: on
line diff
--- 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 */