From 95b3d0fda31a3ce11a84742374bd1ffaad57f6e2 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 12 Jun 2019 21:16:03 +0100 Subject: Fix incorrect __cpp_lib_parallel_algorithm macro definitions * include/std/algorithm (__cpp_lib_parallel_algorithm): Fix value. * include/std/memory (__cpp_lib_parallel_algorithm): Likewise. * include/std/numeric (__cpp_lib_parallel_algorithm): Likewise. * testsuite/25_algorithms/pstl/feature_test.cc: New test. From-SVN: r272216 --- libstdc++-v3/include/std/algorithm | 2 +- libstdc++-v3/include/std/memory | 2 +- libstdc++-v3/include/std/numeric | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libstdc++-v3/include/std') diff --git a/libstdc++-v3/include/std/algorithm b/libstdc++-v3/include/std/algorithm index 1818296..124342c 100644 --- a/libstdc++-v3/include/std/algorithm +++ b/libstdc++-v3/include/std/algorithm @@ -73,7 +73,7 @@ # endif // Feature test macro for parallel algorithms -# define __cpp_lib_parallel_algorithm 201703L +# define __cpp_lib_parallel_algorithm 201603L #endif // C++17 #ifdef _GLIBCXX_PARALLEL diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory index 1fb4a5f..3660f4d 100644 --- a/libstdc++-v3/include/std/memory +++ b/libstdc++-v3/include/std/memory @@ -407,7 +407,7 @@ _GLIBCXX_END_NAMESPACE_VERSION # endif // Feature test macro for parallel algorithms -# define __cpp_lib_parallel_algorithm 201703L +# define __cpp_lib_parallel_algorithm 201603L #endif // C++17 #endif /* _GLIBCXX_MEMORY */ diff --git a/libstdc++-v3/include/std/numeric b/libstdc++-v3/include/std/numeric index def1deb..01e3ae8 100644 --- a/libstdc++-v3/include/std/numeric +++ b/libstdc++-v3/include/std/numeric @@ -216,7 +216,7 @@ _GLIBCXX_END_NAMESPACE_VERSION # endif // Feature test macro for parallel algorithms -# define __cpp_lib_parallel_algorithm 201703L +# define __cpp_lib_parallel_algorithm 201603L #endif // C++17 #endif /* _GLIBCXX_NUMERIC */ -- cgit v1.1