mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: Ensure log2 is disable based on msvcrt version.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3b2ab8a783
commit
4d93e758d7
5
configure
vendored
5
configure
vendored
@ -4124,9 +4124,6 @@ case $libc_type in
|
||||
add_compat msvcrt/snprintf.o snprintf=avpriv_snprintf \
|
||||
_snprintf=avpriv_snprintf \
|
||||
vsnprintf=avpriv_vsnprintf
|
||||
# MSVC 2010 x64 requires log2 fix. However 2013 onwards is supported.
|
||||
check_cpp_condition stdlib.h "_MSC_VER >= 1800" ||
|
||||
disable log2
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -5021,6 +5018,8 @@ elif enabled_any msvc icl; then
|
||||
disable ebx_available
|
||||
fi
|
||||
fi
|
||||
# msvcrt10 x64 incorrectly enables log2, only msvcrt12 onwards actually has log2.
|
||||
check_cpp_condition crtversion.h "_VC_CRT_MAJOR_VERSION >= 12" || disable log2
|
||||
fi
|
||||
|
||||
case $as_type in
|
||||
|
Loading…
Reference in New Issue
Block a user