diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-01-21 14:56:08 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-01-21 16:07:33 +0000 |
commit | 2da1ef06ff4bee961f51321dee9d0866c7ebb1cc (patch) | |
tree | 5d76014fd7affb03251cd8a98022c58db5859f1f | |
parent | 97f819093433347ff9aec7276a668c3218c202d2 (diff) | |
download | gcc-2da1ef06ff4bee961f51321dee9d0866c7ebb1cc.zip gcc-2da1ef06ff4bee961f51321dee9d0866c7ebb1cc.tar.gz gcc-2da1ef06ff4bee961f51321dee9d0866c7ebb1cc.tar.bz2 |
libstdc++: Fix condition for __cpp_lib_shared_ptr_arrays
I changed the preprocessor condition from <= to < in r12-6574 which
meant the macro was not defined by <version> for C++17.
libstdc++-v3/ChangeLog:
* include/std/version (__cpp_lib_shared_ptr_arrays): Fix
condition for C++17 definition.
-rw-r--r-- | libstdc++-v3/include/std/version | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/version b/libstdc++-v3/include/std/version index e3afe57..64759c9 100644 --- a/libstdc++-v3/include/std/version +++ b/libstdc++-v3/include/std/version @@ -51,7 +51,7 @@ #if _GLIBCXX_HOSTED # define __cpp_lib_allocator_traits_is_always_equal 201411 -#if __cplusplus < 201703L // N.B. updated value in C++20 +#if __cplusplus <= 201703L // N.B. updated value in C++20 # define __cpp_lib_shared_ptr_arrays 201611L #endif #endif |