aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTravis Howell2008-09-12 01:28:28 +0000
committerTravis Howell2008-09-12 01:28:28 +0000
commite012df95b1579d5e27932adceceb574e31ae6803 (patch)
tree0996e91e9a88fda2b4d5fb79a6a0dfab550d4609 /configure
parent169edfccf30e9355e7d77d8b48615b0bda7b52bd (diff)
downloadscummvm-rg350-e012df95b1579d5e27932adceceb574e31ae6803.tar.gz
scummvm-rg350-e012df95b1579d5e27932adceceb574e31ae6803.tar.bz2
scummvm-rg350-e012df95b1579d5e27932adceceb574e31ae6803.zip
Fix compiling under mingw, when using latest mingw-runtime (3.15).
svn-id: r34501
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 87445d463b..c54a955deb 100755
--- a/configure
+++ b/configure
@@ -1059,12 +1059,12 @@ case $_host_os in
LIBS="$LIBS -framework QuickTime -framework AudioUnit -framework AudioToolbox -framework Carbon -framework CoreMIDI"
;;
mingw*)
- DEFINES="$DEFINES -DWIN32"
+ DEFINES="$DEFINES -DWIN32 -D__USE_MINGW_ANSI_STDIO=0"
LIBS="$LIBS -lmingw32 -lwinmm"
OBJS="$OBJS scummvmico.o"
;;
cygwin*)
- DEFINES="$DEFINES -mno-cygwin -DWIN32"
+ DEFINES="$DEFINES -mno-cygwin -DWIN32 -D__USE_MINGW_ANSI_STDIO=0"
LIBS="$LIBS -mno-cygwin -lmingw32 -lwinmm"
OBJS="$OBJS scummvmico.o"
;;