Ticket #583: boost-tr1-detail-config_hpp.patch

File boost-tr1-detail-config_hpp.patch, 692 bytes (added by Thomas Witt, 15 years ago)
  • boost/tr1/detail/config.hpp

    diff -ru boost_1_34_0/boost/tr1/detail/config.hpp boost_1_34_0_ibm/boost/tr1/detail/config.hpp
    old new  
    3434#     define BOOST_TR1_STD_HEADER(name) <../include/name>
    3535#  endif
    3636
    37 #if defined(__GNUC__) && !defined(BOOST_HAS_INCLUDE_NEXT)
    38 #  define BOOST_HAS_INCLUDE_NEXT
     37#if defined(__GNUC__) || (!defined(_AIX) && defined(__IBMCPP__)  && __IBMCPP__ >= 800)
     38#  ifndef BOOST_HAS_INCLUDE_NEXT
     39#     define BOOST_HAS_INCLUDE_NEXT
     40#  endif
    3941#endif
    4042
    4143// Can't use BOOST_WORKAROUND here, it leads to recursive includes: