summaryrefslogtreecommitdiff
path: root/wince
diff options
context:
space:
mode:
authorSimon Howard2009-06-11 18:18:12 +0000
committerSimon Howard2009-06-11 18:18:12 +0000
commit1a5c3bc61d79361251c99ed116849d125b82dfc1 (patch)
treea25f8e00b1c94c467b8663a3678133f19f365f16 /wince
parentac28eb407daaee8a92fb9efb28ac2426c4edb97b (diff)
downloadchocolate-doom-1a5c3bc61d79361251c99ed116849d125b82dfc1.tar.gz
chocolate-doom-1a5c3bc61d79361251c99ed116849d125b82dfc1.tar.bz2
chocolate-doom-1a5c3bc61d79361251c99ed116849d125b82dfc1.zip
Declare getenv/putenv on Windows CE for recent SDL versions that do not
declare it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1592
Diffstat (limited to 'wince')
-rw-r--r--wince/env.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wince/env.h b/wince/env.h
index d91f3fab..96805c31 100644
--- a/wince/env.h
+++ b/wince/env.h
@@ -11,6 +11,13 @@
#include "SDL_getenv.h"
+#ifndef getenv
+#define getenv SDL_getenv
+#endif
+#ifndef putenv
+#define putenv SDL_putenv
+#endif
+
extern void PopulateEnvironment(void);
#endif /* #ifndef WINCE_ENV_H */