From 0c06951a117d58381819a544a54a638755d0131e Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 2 Apr 2001 11:35:49 +0000 Subject: [PATCH] fixed config.hpp to detect missing header [SVN r9692] --- include/boost/config.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/config.hpp b/include/boost/config.hpp index 29b7dfd5..e5726c9a 100644 --- a/include/boost/config.hpp +++ b/include/boost/config.hpp @@ -236,8 +236,10 @@ # define BOOST_NO_AUTO_PTR # endif # if __GNUC__ == 2 && __GNUC_MINOR__ <= 97 -# include // not sure this is the right way to do this -JGS -# if defined(__STL_CONFIG_H) && !defined(__SGI_STL_INTERNAL_ITERATOR_H) && !defined(__GLIBCPP__) && !defined(_CXXRT_STD) && !defined(__SGI_STL) // need to ask Dietmar about this -JGS +# include // not sure this is the right way to do this -JGS +# if defined(__BASTRING__) && !defined(__GLIBCPP__) && !defined(_CXXRT_STD) && !defined(__SGI_STL) // need to ask Dietmar about this -JGS + // this should only detect the stdlibc++ that ships with gcc, and + // not any replacements that may be installed... # define BOOST_NO_STD_ITERATOR # define BOOST_NO_LIMITS # endif