Fix compiler check

This commit is contained in:
Victor Zverovich
2021-10-02 08:46:18 -07:00
parent 134aec40f0
commit d6590e3bd2

View File

@ -156,7 +156,7 @@ FMT_END_NAMESPACE
// __builtin_clz is broken in clang with Microsoft CodeGen:
// https://github.com/fmtlib/fmt/issues/519.
#ifndef FMT_MSC_VER
#if !FMT_MSC_VER
# if FMT_HAS_BUILTIN(__builtin_clz) || FMT_GCC_VERSION || FMT_ICC_VERSION
# define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
# endif