comparison src/stdlib/SDL_getenv.c @ 1358:c71e05b4dc2e

More header massaging... works great on Windows. ;-)
author Sam Lantinga <slouken@libsdl.org>
date Fri, 10 Feb 2006 06:48:43 +0000
parents 22f39393668a
children c0a74f199ecf
comparison
equal deleted inserted replaced
1357:e18467d67cfd 1358:c71e05b4dc2e
25 #ifndef HAVE_GETENV 25 #ifndef HAVE_GETENV
26 26
27 #if defined(WIN32) && !defined(_WIN32_WCE) 27 #if defined(WIN32) && !defined(_WIN32_WCE)
28 28
29 #include "SDL_windows.h" 29 #include "SDL_windows.h"
30 #include "SDL_string.h"
31 30
32 /* Note this isn't thread-safe! */ 31 /* Note this isn't thread-safe! */
33 32
34 static char *SDL_envmem = NULL; /* Ugh, memory leak */ 33 static char *SDL_envmem = NULL; /* Ugh, memory leak */
35 static DWORD SDL_envmemlen = 0; 34 static DWORD SDL_envmemlen = 0;