[committed] libstdc++: Fix condition for __cpp_lib_shared_ptr_arrays
Commit Message
Tested powerpc64le-linux, pushed to trunk.
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.
---
libstdc++-v3/include/std/version | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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