aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/ext/hash_map')
-rw-r--r--libcxx/include/ext/hash_map2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/ext/hash_map b/libcxx/include/ext/hash_map
index 2d6024cb9036..3c1d9b43c6ff 100644
--- a/libcxx/include/ext/hash_map
+++ b/libcxx/include/ext/hash_map
@@ -208,7 +208,7 @@ template <class Key, class T, class Hash, class Pred, class Alloc>
#include <type_traits>
#include <ext/__hash>
-#if __DEPRECATED
+#if defined(__DEPRECATED) && __DEPRECATED
#if defined(_LIBCPP_WARNING)
_LIBCPP_WARNING("Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>")
#else