diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-11-26 11:25:55 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-11-26 11:25:55 +0000 |
commit | 127aa17e162384034254e93cd1ae37224c0ce197 (patch) | |
tree | 807f40e9e6009f3aa58ba7dff9c538eeadfcf0ce /libstdc++-v3 | |
parent | f6702584aa372de7790b3f2be9e4b5a5423eb9fa (diff) | |
download | gcc-127aa17e162384034254e93cd1ae37224c0ce197.zip gcc-127aa17e162384034254e93cd1ae37224c0ce197.tar.gz gcc-127aa17e162384034254e93cd1ae37224c0ce197.tar.bz2 |
libstdc++: Add new headers to stdc++.h
libstdc++-v3/ChangeLog:
* include/precompiled/stdc++.h: Add new headers.
* include/std/stop_token: Include <semaphore> unconditionally.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/include/precompiled/stdc++.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/std/stop_token | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/precompiled/stdc++.h b/libstdc++-v3/include/precompiled/stdc++.h index a418c462..692fae7 100644 --- a/libstdc++-v3/include/precompiled/stdc++.h +++ b/libstdc++-v3/include/precompiled/stdc++.h @@ -140,10 +140,12 @@ #if __cpp_impl_coroutine # include <coroutine> #endif +#include <latch> #include <numbers> #include <ranges> #include <span> #include <stop_token> +#include <semaphore> #include <syncstream> #include <version> #endif diff --git a/libstdc++-v3/include/std/stop_token b/libstdc++-v3/include/std/stop_token index 5b2d5a0..3163428 100644 --- a/libstdc++-v3/include/std/stop_token +++ b/libstdc++-v3/include/std/stop_token @@ -34,9 +34,7 @@ #include <atomic> #include <bits/std_thread.h> -#if __has_include(<semaphore>) -# include <semaphore> -#endif +#include <semaphore> #define __cpp_lib_jthread 201911L |