Fixed building with Cygwin (thanks Michael)
authorSam Lantinga <slouken@libsdl.org>
Thu, 10 Jan 2002 02:00:29 +0000
changeset 263 63e391bd7085
parent 262 ba5363e21df8
child 264 c9cd3b564e4b
Fixed building with Cygwin (thanks Michael)
configure.in
--- 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"
                 ;;