commit 1a5c3bc61d79361251c99ed116849d125b82dfc1
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Thu Jun 11 18:18:12 2009 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Thu Jun 11 18:18:12 2009 +0000
Declare getenv/putenv on Windows CE for recent SDL versions that do not
declare it.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1592
---
wince/env.h | 7 +++++++
1 file changed, 7 insertions(+)
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 */