Fixes a failed compiler version check for clang-cl, which was detected as an old MSVC. (#95)

pull/99/head
bfierz 7 years ago committed by Derek Mauro
parent 7fda099641
commit 5337d2d0e3
  1. 2
      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

Loading…
Cancel
Save