2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-09 20:31:36 +08:00

libstdc++: Ensure std::lock_guard is declared

libstdc++-v3/ChangeLog:

	* include/std/syncstream: Include <bits/std_mutex.h>
	unconditionally.
This commit is contained in:
Jonathan Wakely 2020-11-03 21:56:44 +00:00
parent fab72592d8
commit e1276e3342

@ -44,10 +44,7 @@
#include <bits/allocator.h>
#include <bits/functexcept.h>
#include <bits/functional_hash.h>
#if _GLIBCXX_HAS_GTHREADS
# include <bits/std_mutex.h>
#endif
#include <bits/std_mutex.h>
namespace std _GLIBCXX_VISIBILITY(default)
{