public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-4698] libstdc++: Ensure std::lock_guard is declared
@ 2020-11-03 21:59 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2020-11-03 21:59 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:e1276e334298251d73303999d2adc688abbfc856
commit r11-4698-ge1276e334298251d73303999d2adc688abbfc856
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Nov 3 21:56:44 2020 +0000
libstdc++: Ensure std::lock_guard is declared
libstdc++-v3/ChangeLog:
* include/std/syncstream: Include <bits/std_mutex.h>
unconditionally.
Diff:
---
libstdc++-v3/include/std/syncstream | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/libstdc++-v3/include/std/syncstream b/libstdc++-v3/include/std/syncstream
index 5e0864ec54a..9d1db0cf286 100644
--- 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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-03 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 21:59 [gcc r11-4698] libstdc++: Ensure std::lock_guard is declared Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).