From a9c0bb4b16296401cbb086fa11d44cd52be294db Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 12 Apr 2018 06:07:16 -0700 Subject: [PATCH] Fix a warning on msvc/clang (#703) --- fmt/format.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fmt/format.cc b/fmt/format.cc index 2d236bc6..f5481fbb 100644 --- a/fmt/format.cc +++ b/fmt/format.cc @@ -161,7 +161,7 @@ int safe_strerror( ERANGE : result; } -#ifdef __c2__ +#ifdef __clang__ # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif @@ -173,7 +173,7 @@ int safe_strerror( return errno; } -#ifdef __c2__ +#ifdef __clang__ # pragma clang diagnostic pop #endif