comparison include/SDL_getenv.h @ 1268:f098b247299d

Use Win32 API for putenv/getenv to avoid C runtime conflicts
author Sam Lantinga <slouken@libsdl.org>
date Thu, 26 Jan 2006 06:06:56 +0000
parents 9154ec9ca3d2
children 088b806d877e
comparison
equal deleted inserted replaced
1267:fdc7ef6ecab4 1268:f098b247299d
1 1
2 /* Not all environments have a working getenv()/putenv() */ 2 /* Not all environments have a working getenv()/putenv() */
3 3
4 #if defined(macintosh) || defined(_WIN32_WCE) 4 #if defined(macintosh) || defined(WIN32) || defined(_WIN32_WCE)
5 #define NEED_SDL_GETENV 5 #define NEED_SDL_GETENV
6 #endif 6 #endif
7 7
8 #ifdef NEED_SDL_GETENV 8 #ifdef NEED_SDL_GETENV
9 9