changeset 1273:05d5d36b71f4

Who'd have thought that Windows CE wouldn't have the environment APIs?
author Sam Lantinga <slouken@libsdl.org>
date Thu, 26 Jan 2006 08:45:51 +0000
parents 94c0709f8856
children 4726fa79ede1
files src/SDL_getenv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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>