From 3e4823adaaea81329f0e0dd165cfa6e2f56b62bf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 May 2018 15:57:30 +0300 Subject: Add workarounds for all releases of VC15 --- build2/function.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/function.hxx') diff --git a/build2/function.hxx b/build2/function.hxx index dc6a636..ab63b48 100644 --- a/build2/function.hxx +++ b/build2/function.hxx @@ -125,7 +125,7 @@ namespace build2 // std::is_pod appears to be broken in VC15 and also in GCC up to // 5 (pointers to members). // -#if !((defined(_MSC_VER) && _MSC_VER <= 1914) || \ +#if !((defined(_MSC_VER) && _MSC_VER < 1920) || \ (defined(__GNUC__) && !defined(__clang__) && __GNUC__ <= 5)) static_assert (std::is_pod::value, "type is not POD"); #endif -- cgit v1.1