mirror of https://git.ffmpeg.org/ffmpeg.git
configure: Fix 10l in 5ae9fa13f5
Wrong version of the patch was pushed. MinGW32 supports vsnprint properly. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
5ae9fa13f5
commit
7133d25425
|
@ -3195,8 +3195,7 @@ elif check_header _mingw.h; then
|
||||||
"defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) || \
|
"defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) || \
|
||||||
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
|
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
|
||||||
die "ERROR: MinGW runtime version must be >= 3.15."
|
die "ERROR: MinGW runtime version must be >= 3.15."
|
||||||
if check_cpp_condition _mingw.h \
|
if check_cpp_condition _mingw.h "defined(__MINGW64_VERSION_MAJOR) && \
|
||||||
"(defined(__MINGW32_MAJOR_VERSION) && !defined(__MINGW64_VERSION_MAJOR)) || \
|
|
||||||
__MINGW64_VERSION_MAJOR < 3"; then
|
__MINGW64_VERSION_MAJOR < 3"; then
|
||||||
enable broken_snprintf
|
enable broken_snprintf
|
||||||
add_cflags "-include $source_path/compat/msvcrt/snprintf.h"
|
add_cflags "-include $source_path/compat/msvcrt/snprintf.h"
|
||||||
|
|
Loading…
Reference in New Issue