summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2023-04-03 15:03:22 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-04-03 15:04:15 -0700
commitdc51d35fe719b3a3c49f895c149b0920a3745cc4 (patch)
treec3da6482f137b432b4d96d24f53023712f639727 /absl/base
parentc4127a721f498ad417b4db603e643822305cb11e (diff)
Raise the MSVC floor to MSVC 2019 (16.0) in accordance with
https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md PiperOrigin-RevId: 521573177 Change-Id: I1f12ddbd8516314ee2ed7f8ba6a6895b03c6c270
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/policy_checks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/base/policy_checks.h b/absl/base/policy_checks.h
index b8cd4c94..372e848d 100644
--- a/absl/base/policy_checks.h
+++ b/absl/base/policy_checks.h
@@ -44,10 +44,10 @@
// Toolchain Check
// -----------------------------------------------------------------------------
-// We support Visual Studio 2017 (MSVC++ 15.0) and later.
+// We support Visual Studio 2019 (MSVC++ 16.0) and later.
// This minimum will go up.
-#if defined(_MSC_VER) && _MSC_VER < 1910 && !defined(__clang__)
-#error "This package requires Visual Studio 2017 (MSVC++ 15.0) or higher."
+#if defined(_MSC_VER) && _MSC_VER < 1920 && !defined(__clang__)
+#error "This package requires Visual Studio 2019 (MSVC++ 16.0) or higher."
#endif
// We support GCC 7 and later.