mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
configure: Detect newer (>=4.1) versions of MinGW32
The MinGW32 project is deprecating its old version macros.
This commit is contained in:
parent
a1d7d55247
commit
bdc111a162
3
configure
vendored
3
configure
vendored
@ -3416,7 +3416,8 @@ probe_libc(){
|
|||||||
elif check_${pfx}cpp_condition _mingw.h "defined __MINGW64_VERSION_MAJOR"; then
|
elif check_${pfx}cpp_condition _mingw.h "defined __MINGW64_VERSION_MAJOR"; then
|
||||||
eval ${pfx}libc_type=mingw64
|
eval ${pfx}libc_type=mingw64
|
||||||
add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1
|
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
|
eval ${pfx}libc_type=mingw32
|
||||||
check_${pfx}cpp_condition _mingw.h "__MINGW32_MAJOR_VERSION > 3 || \
|
check_${pfx}cpp_condition _mingw.h "__MINGW32_MAJOR_VERSION > 3 || \
|
||||||
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
|
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user