Who'd have thought that Windows CE wouldn't have the environment APIs?
authorSam Lantinga <slouken@libsdl.org>
Thu, 26 Jan 2006 08:45:51 +0000
changeset 1273 05d5d36b71f4
parent 1272 94c0709f8856
child 1274 4726fa79ede1
Who'd have thought that Windows CE wouldn't have the environment APIs?
src/SDL_getenv.c
--- a/src/SDL_getenv.c	Thu Jan 26 08:08:22 2006 +0000
+++ b/src/SDL_getenv.c	Thu Jan 26 08:45:51 2006 +0000
@@ -35,7 +35,7 @@
 
 #ifdef NEED_SDL_GETENV
 
-#ifdef WIN32
+#if defined(WIN32) && !defined(_WIN32_WCE)
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>