Mercurial > sdl-ios-xcode
comparison src/stdlib/SDL_getenv.c @ 1433:bb6839704ed6
SDL_windows.h is no longer necessary
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 25 Feb 2006 22:18:25 +0000 |
parents | d910939febfa |
children | 84de7511f79f |
comparison
equal
deleted
inserted
replaced
1432:0801c9fdbdd6 | 1433:bb6839704ed6 |
---|---|
25 | 25 |
26 #ifndef HAVE_GETENV | 26 #ifndef HAVE_GETENV |
27 | 27 |
28 #if defined(__WIN32__) && !defined(_WIN32_WCE) | 28 #if defined(__WIN32__) && !defined(_WIN32_WCE) |
29 | 29 |
30 #include "SDL_windows.h" | 30 #define WIN32_LEAN_AND_MEAN |
31 #include <windows.h> | |
31 | 32 |
32 /* Note this isn't thread-safe! */ | 33 /* Note this isn't thread-safe! */ |
33 | 34 |
34 static char *SDL_envmem = NULL; /* Ugh, memory leak */ | 35 static char *SDL_envmem = NULL; /* Ugh, memory leak */ |
35 static DWORD SDL_envmemlen = 0; | 36 static DWORD SDL_envmemlen = 0; |