summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-13 21:26:06 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-13 21:26:13 +0100
commit1e3718e2a1e70ae13785c566a197552eac7eda39 (patch)
treebad68cd056a50abac01dcf2cf1d64d62ae0a71a3 /configure
parent2a459f5d87f804204ef5191de503672a3ddcf820 (diff)
parent7c3388711b7243d059db39aa04b754baf2156934 (diff)
Merge commit '7c3388711b7243d059db39aa04b754baf2156934'
* commit '7c3388711b7243d059db39aa04b754baf2156934': configure: Add -D__USE_MINGW_ANSI_STDIO=1 to CPPFLAGS on MinGW32 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index cb2156c4dd..165d239d70 100755
--- a/configure
+++ b/configure
@@ -3861,7 +3861,7 @@ probe_libc(){
check_${pfx}cpp_condition _mingw.h "__MINGW32_MAJOR_VERSION > 3 || \
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
die "ERROR: MinGW32 runtime version must be >= 3.15."
- add_${pfx}cppflags -U__STRICT_ANSI__
+ add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1
elif check_${pfx}cpp_condition crtversion.h "defined _VC_CRT_MAJOR_VERSION"; then
eval ${pfx}libc_type=msvcrt
# The MSVC 2010 headers (Win 7.0 SDK) set _WIN32_WINNT to