Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: Detect msvcrt libc with a CPP check instead of a link check

Conflicts:
	configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-12-04 22:05:11 +01:00
commit 8dd4f5ecf9
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -3809,7 +3809,7 @@ elif check_header _mingw.h; then
else
add_cppflags -D__USE_MINGW_ANSI_STDIO=1
fi
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 \