diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 2 | ||||
-rw-r--r-- | win32/config.status.in | 2 | ||||
-rw-r--r-- | win32/win32.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index f8ebcd7815..36df32cfab 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -29,7 +29,7 @@ AUTOCONF = autoconf prefix = /usr -CFLAGS = -nologo -DNT=1 -Zi -O2b2x -G5 +CFLAGS = -nologo -DNT=1 -Zi -MD -O2b2x -G5 CPPFLAGS = -I$(srcdir) -I$(srcdir)/missing LDFLAGS = $(CFLAGS) -Fm XLDFLAGS = diff --git a/win32/config.status.in b/win32/config.status.in index 2b81802718..f3636581aa 100644 --- a/win32/config.status.in +++ b/win32/config.status.in @@ -1,5 +1,5 @@ s%@SHELL@%%g -s%@CFLAGS@%-nologo -DNT=1 -Zi -O2b2x -G5%g +s%@CFLAGS@%-nologo -DNT=1 -Zi -MD -O2b2x -G5%g s%@CPPFLAGS@%%g s%@CXXFLAGS@%%g s%@FFLAGS@%%g diff --git a/win32/win32.c b/win32/win32.c index e2799eee23..22f3af9ed9 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1767,7 +1767,7 @@ myfddup (int fd) void myfdclose(FILE *fp) { -#if !defined __MINGW32__ +#if !defined MSVCRT_THREADS _free_osfhnd(fileno(fp)); #endif fclose(fp); |