]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix preprocessor check for C++17
authorJonathan Wakely <jwakely@redhat.com>
Thu, 30 Sep 2021 07:59:21 +0000 (08:59 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 30 Sep 2021 08:00:22 +0000 (09:00 +0100)
libstdc++-v3/ChangeLog:

* include/bits/regex.h (basic_regex::multiline): Fix #if
condition.

libstdc++-v3/include/bits/regex.h

index ad33ecaa14b70e6eca6acd259770d504e27cc5d7..664944b0ef27073325156136fa245036e616559b 100644 (file)
@@ -424,7 +424,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11
       static constexpr flag_type awk = regex_constants::awk;
       static constexpr flag_type grep = regex_constants::grep;
       static constexpr flag_type egrep = regex_constants::egrep;
-#if __cplusplus >= 2017
+#if __cplusplus >= 201703L
       static constexpr flag_type multiline = regex_constants::multiline;
 #endif
       ///@}