libstdc++: Add new headers to stdc++.h

libstdc++-v3/ChangeLog:

	* include/precompiled/stdc++.h: Add new headers.
	* include/std/stop_token: Include <semaphore> unconditionally.
This commit is contained in:
Jonathan Wakely 2020-11-26 11:25:55 +00:00
parent f6702584aa
commit 127aa17e16
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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