diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-12-04 10:25:04 -0500 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-12-04 11:50:59 -0500 |
commit | bd8b6185f6d1fb0433f048c4096b858e6f88ded6 (patch) | |
tree | 686361c57bf4e15517e9eb18c45f241d1856a05c | |
parent | 5ec467328122b80fac94c2d5e3e7540d50381868 (diff) | |
download | ffmpeg-bd8b6185f6d1fb0433f048c4096b858e6f88ded6.tar.gz |
configure: Detect msvcrt libc with a CPP check instead of a link check
Simplifies host/target libc detection splitting.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3393,7 +3393,7 @@ elif check_header _mingw.h; then (__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 +elif check_cpp_condition crtversion.h "defined _VC_CRT_MAJOR_VERSION"; then libc_type=msvcrt add_compat strtod.o strtod=avpriv_strtod add_compat msvcrt/snprintf.o snprintf=avpriv_snprintf \ |