src/stdlib/SDL_getenv.c
changeset 1358 c71e05b4dc2e
parent 1354 22f39393668a
child 1379 c0a74f199ecf
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;