Ticket #7166: boost_phoenix_limits.hpp.patch

File boost_phoenix_limits.hpp.patch, 606 bytes (added by m.champlon@…, 10 years ago)
  • boost/phoenix/core/limits.hpp

     
    1616
    1717
    1818#if defined(BOOST_PHOENIX_LIMIT)
    19 #define BOOST_PROTO_MAX_ARITY BOOST_PHOENIX_LIMIT
     19# if !defined( BOOST_PROTO_MAX_ARITY )
     20#  define BOOST_PROTO_MAX_ARITY BOOST_PHOENIX_LIMIT
     21# elif (BOOST_PROTO_MAX_ARITY < BOOST_PHOENIX_LIMIT)
     22#  error "BOOST_PROTO_MAX_ARITY is set too low"
     23# endif
    2024#include <boost/proto/proto_fwd.hpp>
    2125#else
    2226#include <boost/proto/proto_fwd.hpp>