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:
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user