diff --git a/configure b/configure index 6bfd30435c..f3e51544b9 100755 --- a/configure +++ b/configure @@ -1744,8 +1744,6 @@ fast_unaligned_if_any="aarch64 ppc x86" simd_align_16_if_any="altivec neon sse" # system capabilities -log2_deps="!libc_msvcrt" - symver_if_any="symver_asm_label symver_gnu_asm" valgrind_backtrace_deps="!optimizations valgrind_valgrind_h" @@ -4563,6 +4561,8 @@ elif enabled_any msvc icl; then # not supported (build will fail) disable inline_asm fi + # msvcrt10 x64 incorrectly enables log2, only msvcrt12 (MSVC 2013) onwards actually has log2. + check_cpp_condition crtversion.h "_VC_CRT_MAJOR_VERSION >= 12" || disable log2 fi case $as_type in