diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-18 15:57:30 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-18 15:57:30 +0300 |
commit | 3e4823adaaea81329f0e0dd165cfa6e2f56b62bf (patch) | |
tree | 85af1dff671a3ab369a46db351a2d5d0933d8095 /build2/function.hxx | |
parent | c50dd6a48fb364e9d9812cc177e08f62c390687a (diff) |
Add workarounds for all releases of VC15
Diffstat (limited to 'build2/function.hxx')
-rw-r--r-- | build2/function.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<D>::value, "type is not POD"); #endif |