comparison 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
comparison
equal deleted inserted replaced
5061:9e9940eae455 5062:e8916fe9cfc8
23 23
24 #include "SDL_stdinc.h" 24 #include "SDL_stdinc.h"
25 25
26 #ifndef HAVE_GETENV 26 #ifndef HAVE_GETENV
27 27
28 #if defined(__WIN32__) && !defined(_WIN32_WCE) 28 #if defined(__WINDOWS__) && !defined(_WIN32_WCE)
29 29
30 #define WIN32_LEAN_AND_MEAN 30 #define WIN32_LEAN_AND_MEAN
31 #include <windows.h> 31 #include <windows.h>
32 32
33 /* Note this isn't thread-safe! */ 33 /* Note this isn't thread-safe! */
161 } 161 }
162 } 162 }
163 return value; 163 return value;
164 } 164 }
165 165
166 #endif /* __WIN32__ */ 166 #endif /* __WINDOWS__ */
167 167
168 #endif /* !HAVE_GETENV */ 168 #endif /* !HAVE_GETENV */
169 169
170 170
171 /* We have a real environment table, but no real setenv? Fake it w/ putenv. */ 171 /* We have a real environment table, but no real setenv? Fake it w/ putenv. */