diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-09-30 08:59:21 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-09-30 09:00:22 +0100 |
commit | c5369961fa3a5a319f1cc1469c6afb8b679e4846 (patch) | |
tree | e7f476432c694e37fbd042f3dce635b78cbb01fb | |
parent | f5440ac7ad535edcf143a877c3da11a41cbf2c37 (diff) | |
download | gcc-c5369961fa3a5a319f1cc1469c6afb8b679e4846.zip gcc-c5369961fa3a5a319f1cc1469c6afb8b679e4846.tar.gz gcc-c5369961fa3a5a319f1cc1469c6afb8b679e4846.tar.bz2 |
libstdc++: Fix preprocessor check for C++17
libstdc++-v3/ChangeLog:
* include/bits/regex.h (basic_regex::multiline): Fix #if
condition.
-rw-r--r-- | libstdc++-v3/include/bits/regex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/regex.h b/libstdc++-v3/include/bits/regex.h index ad33eca..664944b 100644 --- a/libstdc++-v3/include/bits/regex.h +++ b/libstdc++-v3/include/bits/regex.h @@ -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 ///@} |