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