diff options
author | Derek Mauro <dmauro@google.com> | 2022-10-26 08:14:21 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-10-26 08:15:07 -0700 |
commit | 4691321663e437c3e15c9910529c6a4cafecc16b (patch) | |
tree | 86e7a4f919e065a42e548a770fb851beb11c7a47 | |
parent | 2fc358dab079c220feb81f75b5a366f8d1464cd4 (diff) |
Enforce Visual Studio 2017 (MSVC++ 15.0) minumum
PiperOrigin-RevId: 483972593
Change-Id: I5358871cdf825bbfae65bf9f5872c4fd56005fb7
-rw-r--r-- | absl/base/policy_checks.h | 6 |
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. |