You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
configure: Move MinGW CPPFLAGS setting to libc section, where it belongs
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -2915,7 +2915,6 @@ case $target_os in
|
||||
dlltool="${cross_prefix}dlltool"
|
||||
ranlib=:
|
||||
enable dos_paths
|
||||
add_cppflags -U__STRICT_ANSI__
|
||||
;;
|
||||
win32|win64)
|
||||
if enabled shared; then
|
||||
@@ -3057,6 +3056,7 @@ elif check_header _mingw.h; then
|
||||
"defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) || \
|
||||
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" ||
|
||||
die "ERROR: MinGW runtime version must be >= 3.15."
|
||||
add_cppflags -U__STRICT_ANSI__
|
||||
elif check_func_headers stdlib.h _get_doserrno; then
|
||||
libc_type=msvcrt
|
||||
add_compat strtod.o strtod=avpriv_strtod
|
||||
|
Reference in New Issue
Block a user