summaryrefslogtreecommitdiff
path: root/absl/base/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base/macros.h')
-rw-r--r--absl/base/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/macros.h b/absl/base/macros.h
index d4140872..5ae0f05b 100644
--- a/absl/base/macros.h
+++ b/absl/base/macros.h
@@ -146,7 +146,7 @@ enum LinkerInitialized {
// Every usage of a deprecated entity will trigger a warning when compiled with
// clang's `-Wdeprecated-declarations` option. This option is turned off by
// default, but the warnings will be reported by clang-tidy.
-#if defined(__clang__) && __cplusplus >= 201103L && defined(__has_warning)
+#if defined(__clang__) && __cplusplus >= 201103L
#define ABSL_DEPRECATED(message) __attribute__((deprecated(message)))
#endif