mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-08 01:36:53 +08:00
Fix compiler check
This commit is contained in:
parent
134aec40f0
commit
d6590e3bd2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user