Ticket #583: boost-function_hpp.patch

File boost-function_hpp.patch, 718 bytes (added by Thomas Witt, 15 years ago)
  • boost/function.hpp

    diff -ru boost_1_34_0/boost/function.hpp boost_1_34_0_ibm/boost/function.hpp
    old new  
    2121// in anything that may be included by function_template.hpp doesn't break
    2222#include <boost/function/detail/prologue.hpp>
    2323
    24 // Visual Age C++ doesn't handle the file iteration well
    25 #if BOOST_WORKAROUND(__IBMCPP__, >= 500)
     24// Older versions of the IBM C++ compiler do not handle file iterations well
     25#if BOOST_WORKAROUND(__IBMCPP__, >= 500) && BOOST_WORKAROUND(__IBMCPP__, < 800)
    2626#  if BOOST_FUNCTION_MAX_ARGS >= 0
    2727#    include <boost/function/function0.hpp>
    2828#  endif