diff include/SDL_config.h.in @ 5095:817064595222

Fixed cross-compiling for Windows
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jan 2011 21:41:36 -0800
parents fd125217f00c
children 797b37c0c046
line wrap: on
line diff
--- a/include/SDL_config.h.in	Mon Jan 24 21:31:32 2011 -0800
+++ b/include/SDL_config.h.in	Mon Jan 24 21:41:36 2011 -0800
@@ -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