You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
configure: Allow log2 with msvc12 onwards.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
96abdf2ffd
commit
3b2ab8a783
4
configure
vendored
4
configure
vendored
@@ -1956,7 +1956,6 @@ fast_unaligned_if_any="aarch64 ppc x86"
|
|||||||
need_memalign="altivec neon sse"
|
need_memalign="altivec neon sse"
|
||||||
|
|
||||||
# system capabilities
|
# system capabilities
|
||||||
log2_deps="!libc_msvcrt"
|
|
||||||
|
|
||||||
symver_if_any="symver_asm_label symver_gnu_asm"
|
symver_if_any="symver_asm_label symver_gnu_asm"
|
||||||
|
|
||||||
@@ -4125,6 +4124,9 @@ case $libc_type in
|
|||||||
add_compat msvcrt/snprintf.o snprintf=avpriv_snprintf \
|
add_compat msvcrt/snprintf.o snprintf=avpriv_snprintf \
|
||||||
_snprintf=avpriv_snprintf \
|
_snprintf=avpriv_snprintf \
|
||||||
vsnprintf=avpriv_vsnprintf
|
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
|
esac
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user