Commit 2a459f5d authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'bdc111a1'

* commit 'bdc111a1':
  configure: Detect newer (>=4.1) versions of MinGW32
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 7b2a19cb bdc111a1
......@@ -3855,7 +3855,8 @@ probe_libc(){
add_cflags "-include $source_path/compat/msvcrt/snprintf.h"
fi
add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1
elif check_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then
elif check_${pfx}cpp_condition _mingw.h "defined __MINGW_VERSION" ||
check_${pfx}cpp_condition _mingw.h "defined __MINGW32_VERSION"; then
eval ${pfx}libc_type=mingw32
check_${pfx}cpp_condition _mingw.h "__MINGW32_MAJOR_VERSION > 3 || \
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment