aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-19 18:21:56 +0100
committerClément Bœsch <u@pkh.me>2017-03-19 18:21:56 +0100
commit206a9fb29cbc399d0f789af714d2371553fb0d65 (patch)
tree00fd3e6c72db6f12141902f27ddc29ea74437b56
parenta45a623d4609bbdfa7757bfe5fd54e446b5e63d1 (diff)
parent46e3936fb04d06550151e667357065e3f646da1a (diff)
downloadffmpeg-206a9fb29cbc399d0f789af714d2371553fb0d65.tar.gz
Merge commit '46e3936fb04d06550151e667357065e3f646da1a'
* commit '46e3936fb04d06550151e667357065e3f646da1a': configure: Set __MSVCRT_VERSION__to 0x0700 for MinGW Merged-by: Clément Bœsch <u@pkh.me>
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 48a53f144b..967f3d622c 100755
--- a/configure
+++ b/configure
@@ -5055,6 +5055,8 @@ 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__" &&
+ add_${pfx}cppflags -D__MSVCRT_VERSION__=0x0700
eval test \$${pfx_no_}cc_type = "gcc" &&
add_${pfx}cppflags -D__printf__=__gnu_printf__
elif check_${pfx}cpp_condition crtversion.h "defined _VC_CRT_MAJOR_VERSION"; then