src/stdlib/SDL_getenv.c
changeset 1433 bb6839704ed6
parent 1402 d910939febfa
child 1456 84de7511f79f
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;