aboutsummaryrefslogtreecommitdiff
path: root/build2/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-19 16:42:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-19 16:42:26 +0200
commit487e4c77e4131fd5f559fc793c8caaf1dcbc4917 (patch)
tree305f76c0bb6eb6081dd12396c7d89d5862e30706 /build2/test
parentce74d2ce1d5bcc59e3c44d22e581fc203d949cfa (diff)
Extend regex workaround to Clang/libc++ 5 and 6
Diffstat (limited to 'build2/test')
-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>