From 729491eab7668398e30477813d29328dc3a468f8 Mon Sep 17 00:00:00 2001 From: Dean Moldovan Date: Tue, 3 May 2016 14:26:01 +0200 Subject: [PATCH] Use FMT_ICC_VERSION everywhere internally --- fmt/format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fmt/format.h b/fmt/format.h index 08b1ca09..cd053a0b 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -105,7 +105,7 @@ typedef __int64 intmax_t; # define FMT_ICC_VERSION __ICL #endif -#if defined(__clang__) && !defined(__INTEL_COMPILER) +#if defined(__clang__) && !defined(FMT_ICC_VERSION) # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wdocumentation" #endif @@ -3915,7 +3915,7 @@ operator"" _a(const wchar_t *s, std::size_t) { return {s}; } # pragma GCC diagnostic pop #endif -#if defined(__clang__) && !defined(__INTEL_COMPILER) +#if defined(__clang__) && !defined(FMT_ICC_VERSION) # pragma clang diagnostic pop #endif