summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/src/globals.cc2
2 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4e32aa306f3..0d14cf98929 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-07 Phil Edwards <pme@gcc.gnu.org>
+
+ * src/globals.cc: Remove __GTHREADS guard.
+
2001-12-07 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_put::_M_convert_float):
diff --git a/libstdc++-v3/src/globals.cc b/libstdc++-v3/src/globals.cc
index 20fe96994fb..2c80abd6937 100644
--- a/libstdc++-v3/src/globals.cc
+++ b/libstdc++-v3/src/globals.cc
@@ -91,7 +91,6 @@ namespace std
// Globals for once-only runtime initialization of mutex objects. This
// allows static initialization of these objects on systems that need a
// function call to initialize a mutex. For example, see stl_threads.h.
-#if __GTHREADS
#ifdef __GTHREAD_MUTEX_INIT
// Need to provide explicit instantiations of static data for
// systems with broken weak linkage support.
@@ -111,5 +110,4 @@ namespace std
_GLIBCPP_mutex_address_init ()
{ __GTHREAD_MUTEX_INIT_FUNCTION (_GLIBCPP_mutex_address); }
#endif
-#endif // __GTHREADS
}
OpenPOWER on IntegriCloud