diff options
author | bfierz <bfierz@users.noreply.github.com> | 2018-03-01T20·52+0100 |
---|---|---|
committer | Derek Mauro <761129+derekmauro@users.noreply.github.com> | 2018-03-01T20·52-0500 |
commit | 5337d2d0e312ce6bce0140b5f1da5548a0b3fed5 (patch) | |
tree | 97693bcb12793a16de6131bcc33ba2242a3971e9 /absl/base/policy_checks.h | |
parent | 7fda099641d0f7302654bef69727eea5aeecbbca (diff) |
Fixes a failed compiler version check for clang-cl, which was detected as an old MSVC. (#95)
Diffstat (limited to 'absl/base/policy_checks.h')
-rw-r--r-- | absl/base/policy_checks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/policy_checks.h b/absl/base/policy_checks.h index 17c05c14681a..51b662f4dd97 100644 --- a/absl/base/policy_checks.h +++ b/absl/base/policy_checks.h @@ -46,7 +46,7 @@ // We support MSVC++ 14.0 update 2 and later. // This minimum will go up. -#if defined(_MSC_FULL_VER) && _MSC_FULL_VER < 190023918 +#if defined(_MSC_FULL_VER) && _MSC_FULL_VER < 190023918 && !defined(__clang__) #error "This package requires Visual Studio 2015 Update 2 or higher" #endif |