Fix bug regarding FMT_SAFEBUFFERS

This commit is contained in:
Junekey Jeon
2020-09-18 12:35:04 -07:00
committed by Victor Zverovich
parent 2ecdbb986d
commit 1f0600a23b

View File

@@ -1002,7 +1002,7 @@ template <> int count_digits<4>(detail::fallback_uintptr n);
#endif #endif
// To suppress unnecessary security cookie checks // 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) # define FMT_SAFEBUFFERS __declspec(safebuffers)
#else #else
# define FMT_SAFEBUFFERS # define FMT_SAFEBUFFERS