Fix for egcs 1.1.1 problems with std::auto_ptr

[SVN r8225]
This commit is contained in:
John Maddock
2000-11-16 11:17:22 +00:00
parent e1e5feaa34
commit f0e359663f

View File

@@ -170,6 +170,10 @@
// GNU CC (also known as GCC and G++) --------------------------------------// // GNU CC (also known as GCC and G++) --------------------------------------//
# if defined __GNUC__ # if defined __GNUC__
# if __GNUC__ == 2 && __GNUC_MINOR__ == 91
// egcs 1.1 won't parse smart_ptr.hpp without this:
# define BOOST_NO_AUTO_PTR
# endif
# if __GNUC__ == 2 && __GNUC_MINOR__ <= 95 # if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
# include <iterator> // not sure this is the right way to do this -JGS # include <iterator> // not sure this is the right way to do this -JGS
# if !defined(_CXXRT_STD) && !defined(__SGI_STL) // need to ask Dietmar about this -JGS # if !defined(_CXXRT_STD) && !defined(__SGI_STL) // need to ask Dietmar about this -JGS
@@ -396,3 +400,4 @@ namespace std {
#endif // BOOST_CONFIG_HPP #endif // BOOST_CONFIG_HPP