From 4a34d89ca9caf99e2a032c684d0cae2ab276f56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Sch=C3=B6pflin?= Date: Wed, 13 Jul 2005 15:24:04 +0000 Subject: [PATCH] The definition of _REENTRANT is also needed for GCC 3.3 and below on Tru64. [SVN r30050] --- include/boost/config/stdlib/libstdcpp3.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index 5dfa9ea4..f367fa0f 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -22,8 +22,9 @@ # define BOOST_NO_STD_WSTREAMBUF #endif -#if defined(__osf__) && !defined(_REENTRANT) && defined(_GLIBCXX_HAVE_GTHR_DEFAULT) -// GCC 3.4 on Tru64 forces the definition of _REENTRANT when any std lib header +#if defined(__osf__) && !defined(_REENTRANT) \ + && ( defined(_GLIBCXX_HAVE_GTHR_DEFAULT) || defined(_GLIBCPP_HAVE_GTHR_DEFAULT) ) +// GCC 3 on Tru64 forces the definition of _REENTRANT when any std lib header // file is included, therefore for consistency we define it here as well. # define _REENTRANT #endif