]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove test dependency on _GLIBCXX_USE_C99_STDINT_TR1
authorJonathan Wakely <jwakely@redhat.com>
Fri, 12 May 2023 12:44:21 +0000 (13:44 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 12 May 2023 13:40:39 +0000 (14:40 +0100)
This should have been done in r9-2028-g8ba7f29e3dd064 when
std::shared_mutex was changed to be defined without depending on
_GLIBCXX_USE_C99_STDINT_TR1.

libstdc++-v3/ChangeLog:

* testsuite/experimental/feat-cxx14.cc: Remove dependency on
_GLIBCXX_USE_C99_STDINT_TR1.

libstdc++-v3/testsuite/experimental/feat-cxx14.cc

index 8c0061eddbf427b61c60fa185e1b7d57ebfcaa6a..effe382e06e6965c4428a77aa6a6eb866475d275 100644 (file)
 #  error "<shared_mutex>"
 #endif
 
-#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)
+#if defined(_GLIBCXX_HAS_GTHREADS)
 #  ifndef  __cpp_lib_shared_timed_mutex
 #    error "__cpp_lib_shared_timed_mutex"
 #  elif  __cpp_lib_shared_timed_mutex != 201402