changeset 263:63e391bd7085

Fixed building with Cygwin (thanks Michael)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 10 Jan 2002 02:00:29 +0000
parents ba5363e21df8
children c9cd3b564e4b
files configure.in
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Jan 09 16:04:58 2002 +0000
+++ b/configure.in	Thu Jan 10 02:00:29 2002 +0000
@@ -1994,8 +1994,8 @@
         SDL_CFLAGS="$SDL_CFLAGS -Dmain=SDL_main"
         case "$target" in
             *-*-cygwin*)
-                CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix"
-                SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix"
+                CFLAGS="$CFLAGS -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin"
+                SDL_CFLAGS="$SDL_CFLAGS -I/usr/include/mingw -DWIN32 -Uunix -mno-cygwin"
                 LIBS="$LIBS -mno-cygwin"
                 SDL_LIBS="-lmingw32 -lSDLmain $SDL_LIBS -mwindows -mno-cygwin"
                 ;;