summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d13073c8..2626fb6a 100644
--- a/absl/base/policy_checks.h
+++ b/absl/base/policy_checks.h
@@ -44,10 +44,10 @@
// Toolchain Check
// -----------------------------------------------------------------------------
-// We support MSVC++ 14.0 update 2 and later.
+// We support Visual Studio 2017 (MSVC++ 15.0) and later.
// This minimum will go up.
-#if defined(_MSC_FULL_VER) && _MSC_FULL_VER < 190023918 && !defined(__clang__)
-#error "This package requires Visual Studio 2015 Update 2 or higher."
+#if defined(_MSC_VER) && _MSC_VER < 1910 && !defined(__clang__)
+#error "This package requires Visual Studio 2017 (MSVC++ 15.0) or higher."
#endif
// We support gcc 5 and later.