forked from boostorg/config
fixed config.hpp to detect missing <limits> header
[SVN r9692]
This commit is contained in:
@ -236,8 +236,10 @@
|
|||||||
# define BOOST_NO_AUTO_PTR
|
# define BOOST_NO_AUTO_PTR
|
||||||
# endif
|
# endif
|
||||||
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 97
|
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 97
|
||||||
# include <iterator> // not sure this is the right way to do this -JGS
|
# include <string> // 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
|
# 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_STD_ITERATOR
|
||||||
# define BOOST_NO_LIMITS
|
# define BOOST_NO_LIMITS
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user