From 1a5c3bc61d79361251c99ed116849d125b82dfc1 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 11 Jun 2009 18:18:12 +0000 Subject: 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(+) (limited to 'wince') 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 */ -- cgit v1.2.3