]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* stl_config.h: Work around glibc pthread.h bug.
authorJason Merrill <jason@yorick.cygnus.com>
Wed, 25 Feb 1998 10:18:53 +0000 (10:18 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 25 Feb 1998 10:18:53 +0000 (05:18 -0500)
From-SVN: r18230

libstdc++/stl/ChangeLog
libstdc++/stl/stl_config.h

index 8c300e39db132fa45d612e9ebf0889a7213892e0..b3aa0987f8de4e96d8f181f625ce33497254865b 100644 (file)
@@ -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>
 
index ff73028989748c5f35ecf0a3f865e43ad1b2fdd5..06d1cd139298b4db5611898c58a837689d928c08 100644 (file)
 #   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