projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab7259
)
libstdc++: Ensure std::lock_guard is declared
author
Jonathan Wakely
<jwakely@redhat.com>
Tue, 3 Nov 2020 21:56:44 +0000
(21:56 +0000)
committer
Jonathan Wakely
<jwakely@redhat.com>
Tue, 3 Nov 2020 21:56:44 +0000
(21:56 +0000)
libstdc++-v3/ChangeLog:
* include/std/syncstream: Include <bits/std_mutex.h>
unconditionally.
libstdc++-v3/include/std/syncstream
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/std/syncstream
b/libstdc++-v3/include/std/syncstream
index 5e0864ec54a8eb9fcd3bedbff49067b993cb8754..9d1db0cf286e2724655aa1565051aa66833983d4 100644
(file)
--- a/
libstdc++-v3/include/std/syncstream
+++ b/
libstdc++-v3/include/std/syncstream
@@
-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)
{