From: Jason Merrill Date: Wed, 25 Feb 1998 10:18:53 +0000 (+0000) Subject: * stl_config.h: Work around glibc pthread.h bug. X-Git-Tag: prereleases/egcs-1.0.2-prerelease~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f51ac44d74ca2ea0236073a0f6656d797a4a32;p=thirdparty%2Fgcc.git * stl_config.h: Work around glibc pthread.h bug. From-SVN: r18230 --- diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog index 8c300e39db13..b3aa0987f8de 100644 --- a/libstdc++/stl/ChangeLog +++ b/libstdc++/stl/ChangeLog @@ -1,3 +1,7 @@ +1998-02-25 Jason Merrill + + * stl_config.h: Work around glibc pthread.h bug. + Wed Jan 14 16:15:05 1998 H.J. Lu (hjl@gnu.org) Jason Merrill diff --git a/libstdc++/stl/stl_config.h b/libstdc++/stl/stl_config.h index ff7302898974..06d1cd139298 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