diff 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
line wrap: on
line diff
--- a/include/SDL_getenv.h	Wed Jan 25 20:36:21 2006 +0000
+++ b/include/SDL_getenv.h	Thu Jan 26 06:06:56 2006 +0000
@@ -1,7 +1,7 @@
 
 /* Not all environments have a working getenv()/putenv() */
 
-#if defined(macintosh) || defined(_WIN32_WCE)
+#if defined(macintosh) || defined(WIN32) || defined(_WIN32_WCE)
 #define NEED_SDL_GETENV
 #endif