Merge commit 'bdc111a162094c14660d1e88839d103a4d79e42a'
* commit 'bdc111a162094c14660d1e88839d103a4d79e42a': configure: Detect newer (>=4.1) versions of MinGW32 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
2a459f5d87
3
configure
vendored
3
configure
vendored
@ -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)" ||
|
||||
|
Loading…
Reference in New Issue
Block a user