From 1f0600a23bdadef62acdf40ddc877b1b614436df Mon Sep 17 00:00:00 2001 From: Junekey Jeon Date: Fri, 18 Sep 2020 12:35:04 -0700 Subject: [PATCH] Fix bug regarding FMT_SAFEBUFFERS --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 1c40140b..03e538c6 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1002,7 +1002,7 @@ template <> int count_digits<4>(detail::fallback_uintptr n); #endif // To suppress unnecessary security cookie checks -#if defined(FMT_MSC_VER) && !defined(__clang__) +#if FMT_MSC_VER && !FMT_CLANG_VERSION # define FMT_SAFEBUFFERS __declspec(safebuffers) #else # define FMT_SAFEBUFFERS