aboutsummaryrefslogtreecommitdiff
path: root/third_party/abseil-cpp/absl/memory/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/abseil-cpp/absl/memory/memory.h')
-rw-r--r--third_party/abseil-cpp/absl/memory/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/abseil-cpp/absl/memory/memory.h b/third_party/abseil-cpp/absl/memory/memory.h
index 2b5ff623d4..d63326068f 100644
--- a/third_party/abseil-cpp/absl/memory/memory.h
+++ b/third_party/abseil-cpp/absl/memory/memory.h
@@ -420,7 +420,7 @@ struct pointer_traits<T*> {
//
// A C++11 compatible implementation of C++17's std::allocator_traits.
//
-#if __cplusplus >= 201703L
+#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
using std::allocator_traits;
#else // __cplusplus >= 201703L
template <typename Alloc>