libstdc++: Make <experimental/simd> depend on C++17
Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * include/experimental/simd: Do not define anything pre-C++17.
This commit is contained in:
parent
996be6b670
commit
36adced3b6
@ -33,6 +33,8 @@
|
||||
#ifndef _GLIBCXX_EXPERIMENTAL_SIMD
|
||||
#define _GLIBCXX_EXPERIMENTAL_SIMD
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
|
||||
#define __cpp_lib_experimental_parallel_simd 201803
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
@ -66,5 +68,6 @@
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#endif // C++17
|
||||
#endif // _GLIBCXX_EXPERIMENTAL_SIMD
|
||||
// vim: ft=cpp
|
||||
|
Loading…
Reference in New Issue
Block a user