ref: 1a5c3bc61d79361251c99ed116849d125b82dfc1
parent: ac28eb407daaee8a92fb9efb28ac2426c4edb97b
author: Simon Howard <[email protected]>
date: Thu Jun 11 14:18:12 EDT 2009
Declare getenv/putenv on Windows CE for recent SDL versions that do not declare it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1592
--- 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 */