aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-19 16:42:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-24 14:50:13 +0200
commit0f8f04a993fdc756f331f8bf8b471c9c6854b84c (patch)
treeb330b5a5a90a418a85bb2f9d29318fd4ed3a429a
parent24df448a20106aabff6d031591a5992d3baaac21 (diff)
Extend regex workaround to Clang/libc++ 5 and 6
-rw-r--r--build2/test/script/regex.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/test/script/regex.hxx b/build2/test/script/regex.hxx
index a375201..696fb2a 100644
--- a/build2/test/script/regex.hxx
+++ b/build2/test/script/regex.hxx
@@ -627,7 +627,7 @@ namespace std
// specialize the class template to behave as the __match_any<line_char>
// instantiation does (that luckily has all the functions in place).
//
-#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION <= 4000
+#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION <= 6000
template <>
class __match_any_but_newline<build2::test::script::regex::line_char>
: public __match_any<build2::test::script::regex::line_char>