diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-03-13 00:35:17 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-03-13 14:03:02 +0300 |
commit | e5d55e3245e148d675d4be607f1bfa944c4559e7 (patch) | |
tree | 9a7aecf407b9718e2ecaaf3a0688ccc76b1977fe /build2/test | |
parent | abf8895cc8611c23bda243e027360d7f91d47cc5 (diff) |
Add workarounds for all cl releases until 20.00
Diffstat (limited to 'build2/test')
-rw-r--r-- | build2/test/script/regex.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/test/script/regex.hxx b/build2/test/script/regex.hxx index 10f2d94..b29eee2 100644 --- a/build2/test/script/regex.hxx +++ b/build2/test/script/regex.hxx @@ -424,7 +424,7 @@ namespace std // template <> class ctype<build2::test::script::regex::line_char>: public ctype_base -#if !defined(_MSC_VER) || _MSC_VER >= 1920 +#if !defined(_MSC_VER) || _MSC_VER >= 2000 , public locale::facet #endif { @@ -437,7 +437,7 @@ namespace std static locale::id id; -#if !defined(_MSC_VER) || _MSC_VER >= 1920 +#if !defined(_MSC_VER) || _MSC_VER >= 2000 explicit ctype (size_t refs = 0): locale::facet (refs) {} #else @@ -520,7 +520,7 @@ namespace std // Workaround for msvcrt bugs. For some reason it assumes such a members // to be present in a regex_traits specialization. // -#if defined(_MSC_VER) && _MSC_VER < 1920 +#if defined(_MSC_VER) && _MSC_VER < 2000 static const ctype_base::mask _Ch_upper = ctype_base::upper; static const ctype_base::mask _Ch_alpha = ctype_base::alpha; |