summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-05-31 12:53:32 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2017-05-31 12:57:22 +0200
commit47c43ce36f0c48b800b5367674839c16f10dc597 (patch)
tree3d3e4b888e356afec4ba9c7c7eebfdc9af0b385d /configure
parent3da13fd6acea0c975625f719640f1c14b48da434 (diff)
downloadffmpeg-streaming-47c43ce36f0c48b800b5367674839c16f10dc597.zip
ffmpeg-streaming-47c43ce36f0c48b800b5367674839c16f10dc597.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> (cherry picked from commit 427f7a1f9ec1977bcb57cb4d6e6f7228dc1e858b)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 18464b3..40eb2bb 100755
--- a/configure
+++ b/configure
@@ -5082,7 +5082,7 @@ probe_libc(){
add_${pfx}cppflags -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1
check_${pfx}cpp_condition _mingw.h "defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0502" ||
add_${pfx}cppflags -D_WIN32_WINNT=0x0502
- 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__
OpenPOWER on IntegriCloud