diff --git a/include/fmt/format.h b/include/fmt/format.h index 38820e3c..e8e50871 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -151,7 +151,7 @@ // Some compilers masquerade as both MSVC and GCC-likes or otherwise support // __builtin_clz and __builtin_clzll, so only define FMT_BUILTIN_CLZ using the // MSVC intrinsics if the clz and clzll builtins are not available. -#if FMT_MSC_VER && !defined(FMT_BUILTIN_CLZLL) +#if FMT_MSC_VER && !defined(FMT_BUILTIN_CLZLL) && !defined(_MANAGED) # include // _BitScanReverse, _BitScanReverse64 namespace fmt {