diff options
-rw-r--r-- | libstdc++/stl/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++/stl/stl_config.h | 4 |
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 |