summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-02-25 10:18:53 +0000
committerJason Merrill <jason@gcc.gnu.org>1998-02-25 05:18:53 -0500
commitd1f51ac44d74ca2ea0236073a0f6656d797a4a32 (patch)
treedeb926b878adac23e17501a4fc7a674be904de70
parent5f8b9c80dfea24581db3c80c87f201b064812383 (diff)
downloadgcc-d1f51ac44d74ca2ea0236073a0f6656d797a4a32.tar.gz
* stl_config.h: Work around glibc pthread.h bug.
From-SVN: r18230
-rw-r--r--libstdc++/stl/ChangeLog4
-rw-r--r--libstdc++/stl/stl_config.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog
index 8c300e39db1..b3aa0987f8d 100644
--- a/libstdc++/stl/ChangeLog
+++ b/libstdc++/stl/ChangeLog
@@ -1,3 +1,7 @@
+1998-02-25 Jason Merrill <jason@yorick.cygnus.com>
+
+ * stl_config.h: Work around glibc pthread.h bug.
+
Wed Jan 14 16:15:05 1998 H.J. Lu (hjl@gnu.org)
Jason Merrill <jason@yorick.cygnus.com>
diff --git a/libstdc++/stl/stl_config.h b/libstdc++/stl/stl_config.h
index ff730289897..06d1cd13929 100644
--- a/libstdc++/stl/stl_config.h
+++ b/libstdc++/stl/stl_config.h
@@ -116,6 +116,10 @@
# endif
# if !defined(_NOTHREADS) && __GLIBC__ >= 2
# define __STL_PTHREADS
+# ifdef __STRICT_ANSI__
+ /* Work around a bug in the glibc pthread.h. */
+# define sigset_t __sigset_t
+# endif
# endif
# ifdef __EXCEPTIONS
# define __STL_USE_EXCEPTIONS