fixed config.hpp to detect missing <limits> header

[SVN r9692]
This commit is contained in:
John Maddock
2001-04-02 11:35:49 +00:00
parent fa107d72bc
commit 0c06951a11

View File

@ -236,8 +236,10 @@
# define BOOST_NO_AUTO_PTR
# endif
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 97
# include <iterator> // 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 <string> // 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