diff options
author | Martin Storsjö <martin@martin.st> | 2017-05-31 12:53:32 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-05-31 13:30:24 +0300 |
commit | 427f7a1f9ec1977bcb57cb4d6e6f7228dc1e858b (patch) | |
tree | 4ac90a321479c9e5cdf9ec105f21a40fa8bc8942 | |
parent | 2017ffc18fe4d33b954dd8a50b086f310f17a329 (diff) | |
download | ffmpeg-427f7a1f9ec1977bcb57cb4d6e6f7228dc1e858b.tar.gz |
configure: Fix the msvcrt version check for mingw32
This was actually broken when committed in 46e3936fb04; the
test never succeeded, and thus, _aligned_malloc wasn't actually
used on legacy mingw.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4131,7 +4131,7 @@ probe_libc(){ (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)" || die "ERROR: MinGW32 runtime version must be >= 3.15." add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 - check_${pfx}cpp_condition _mingw.h "__MSVCRT_VERSION__ < 0x0700__" && + check_${pfx}cpp_condition _mingw.h "__MSVCRT_VERSION__ < 0x0700" && add_${pfx}cppflags -D__MSVCRT_VERSION__=0x0700 eval test \$${pfx_no_}cc_type = "gcc" && add_${pfx}cppflags -D__printf__=__gnu_printf__ |