diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-06-17 22:20:21 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-06-17 22:20:21 +0000 |
commit | 6315d23b898d98a15875324980c38b402025d34b (patch) | |
tree | 7bfb9aaa67f5d6444e4b6692eb0498ae19c76cae /gnu/egcs/libstdc++/stl | |
parent | 52f53b5371b8dc51817da595f87799e3d30f9ab1 (diff) |
Update to 990608 snapshot.
Highlights:
- official fix for an alpha bug,
- cpp changes semantic slightly,
- valarray in libstdc++.
Diffstat (limited to 'gnu/egcs/libstdc++/stl')
-rw-r--r-- | gnu/egcs/libstdc++/stl/ChangeLog | 5 | ||||
-rw-r--r-- | gnu/egcs/libstdc++/stl/stl_config.h | 18 |
2 files changed, 15 insertions, 8 deletions
diff --git a/gnu/egcs/libstdc++/stl/ChangeLog b/gnu/egcs/libstdc++/stl/ChangeLog index 10669ea9b4c..f23f4fb1937 100644 --- a/gnu/egcs/libstdc++/stl/ChangeLog +++ b/gnu/egcs/libstdc++/stl/ChangeLog @@ -1,3 +1,8 @@ +1999-05-17 Mark Kettenis <kettenis@gnu.org> + + * stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for + Linux. + Mon May 17 03:33:47 1999 Mumit Khan <khan@xraylith.wisc.edu> * stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48. diff --git a/gnu/egcs/libstdc++/stl/stl_config.h b/gnu/egcs/libstdc++/stl/stl_config.h index f9295f1f1dd..d72f9e1c746 100644 --- a/gnu/egcs/libstdc++/stl/stl_config.h +++ b/gnu/egcs/libstdc++/stl/stl_config.h @@ -165,14 +165,16 @@ # define __SGI_STL_USE_AUTO_PTR_CONVERSIONS # define __STL_USE_NAMESPACES # endif - /* glibc pre 2.0 is very buggy. We have to disable thread for it. - It should be upgraded to glibc 2.0 or later. */ -# if !defined(_NOTHREADS) && __GLIBC__ >= 2 && defined(_G_USING_THUNKS) -# define __STL_PTHREADS -# ifdef __STRICT_ANSI__ - /* Work around a bug in the glibc 2.0.x pthread.h. */ -# define sigset_t __sigset_t -# endif +# if defined(__linux__) + /* glibc pre 2.0 is very buggy. We have to disable thread for it. + It should be upgraded to glibc 2.0 or later. */ +# if !defined(_NOTHREADS) && __GLIBC__ >= 2 && defined(_G_USING_THUNKS) +# define __STL_PTHREADS +# ifdef __STRICT_ANSI__ + /* Work around a bug in the glibc 2.0.x pthread.h. */ +# define sigset_t __sigset_t +# endif +# endif # endif # ifdef __EXCEPTIONS # define __STL_USE_EXCEPTIONS |