Fixed cross-compiling for Windows

This commit is contained in:
Sam Lantinga 2011-01-24 21:41:36 -08:00
parent ada074623f
commit 7327ef6bb9
3 changed files with 10 additions and 1 deletions

View file

@ -90,7 +90,7 @@
#undef HAVE_REALLOC
#undef HAVE_FREE
#undef HAVE_ALLOCA
#ifndef __WINDOWS__ /* Don't use C runtime versions of these on Windows */
#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
#undef HAVE_GETENV
#undef HAVE_SETENV
#undef HAVE_PUTENV