summaryrefslogtreecommitdiff
path: root/wince/env.h
diff options
context:
space:
mode:
authorSimon Howard2009-06-08 18:15:57 +0000
committerSimon Howard2009-06-08 18:15:57 +0000
commita91a1c60f544d26195c2df9dd9cd1ef042deacf9 (patch)
treececca880c5d57a153f3aed17daa934c00195fae6 /wince/env.h
parentbdeaec12d0f79c5cd15b49105a11988ac5ec545c (diff)
downloadchocolate-doom-a91a1c60f544d26195c2df9dd9cd1ef042deacf9.tar.gz
chocolate-doom-a91a1c60f544d26195c2df9dd9cd1ef042deacf9.tar.bz2
chocolate-doom-a91a1c60f544d26195c2df9dd9cd1ef042deacf9.zip
Use SDL's getenv/putenv implementation, and populate at startup.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1577
Diffstat (limited to 'wince/env.h')
-rw-r--r--wince/env.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/wince/env.h b/wince/env.h
index c2cb4243..d91f3fab 100644
--- a/wince/env.h
+++ b/wince/env.h
@@ -7,7 +7,11 @@
#ifndef WINCE_ENV_H
#define WINCE_ENV_H
-extern char *getenv(const char *name);
+// SDL provides an implementation of getenv/putenv:
+
+#include "SDL_getenv.h"
+
+extern void PopulateEnvironment(void);
#endif /* #ifndef WINCE_ENV_H */