diff -ru boost_1_34_0/boost/tr1/detail/config.hpp boost_1_34_0_ibm/boost/tr1/detail/config.hpp --- boost_1_34_0/boost/tr1/detail/config.hpp 2006-06-02 13:50:49.000000000 -0400 +++ boost_1_34_0_ibm/boost/tr1/detail/config.hpp 2007-05-17 17:01:00.000000000 -0400 @@ -34,8 +34,10 @@ # define BOOST_TR1_STD_HEADER(name) <../include/name> # endif -#if defined(__GNUC__) && !defined(BOOST_HAS_INCLUDE_NEXT) -# define BOOST_HAS_INCLUDE_NEXT +#if defined(__GNUC__) || (!defined(_AIX) && defined(__IBMCPP__) && __IBMCPP__ >= 800) +# ifndef BOOST_HAS_INCLUDE_NEXT +# define BOOST_HAS_INCLUDE_NEXT +# endif #endif // Can't use BOOST_WORKAROUND here, it leads to recursive includes: