Use Win32 API for putenv/getenv to avoid C runtime conflicts
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401271
This commit is contained in:
parent
0a8520eb1f
commit
a17bf3f69d
2 changed files with 67 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
/* Not all environments have a working getenv()/putenv() */
|
||||
|
||||
#if defined(macintosh) || defined(_WIN32_WCE)
|
||||
#if defined(macintosh) || defined(WIN32) || defined(_WIN32_WCE)
|
||||
#define NEED_SDL_GETENV
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue