mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-09 04:30:31 -04:00
Fixed macro redefinition warnings when compiling with clang-cl.
Both clang-cl and Clang/C2 #define _MSC_VER but also have support for __builtin_clz and __builtin_clzll, leading to duplicate macro definition warnings. This change suppresses emulation of clz using _BitScanReverse if the __clang__ macro is defined.
This commit is contained in:
parent
804ad8f4df
commit
251a0869be
Loading…
x
Reference in New Issue
Block a user