Ticket #583: function.hpp.patch

File function.hpp.patch, 616 bytes (added by ccambly@…, 15 years ago)

Preprocessor iteration was fixed in V8 on IBM XL compiler

  • boost/function.hpp

    old new  
    2323// in anything that may be included by function_template.hpp doesn't break
    2424#include <boost/function/detail/prologue.hpp>
    2525
    26 // Visual Age C++ doesn't handle the file iteration well
    27 #if BOOST_WORKAROUND(__IBMCPP__, >= 500)
     26// Older versions of the IBM C++ compiler do not handle file iterations well
     27#if BOOST_WORKAROUND(__IBMCPP__, >= 500) && BOOST_WORKAROUND(__IBMCPP__, < 800)
    2828#  if BOOST_FUNCTION_MAX_ARGS >= 0
    2929#    include <boost/function/function0.hpp>
    3030#  endif