Changeset 63924


Ignore:
Timestamp:
Jul 12, 2010, 1:47:40 PM (8 years ago)
Author:
Hartmut Kaiser
Message:

Spirit: extended fix for gcc 3.x to intel compilers on apple

Location:
trunk/boost/spirit/home
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/spirit/home/karma/detail/extract_from.hpp

    r63908 r63924  
    121121    typename spirit::result_of::extract_from<Exposed, Attribute>::type
    122122    extract_from(Attribute const& attr, Context& ctx
    123 #if defined(__GNUC__) && (__GNUC__ < 4)
     123#if (defined(__GNUC__) && (__GNUC__ < 4)) || \
     124    (defined(__APPLE__) && defined(__INTEL_COMPILER))
    124125      , typename enable_if<traits::not_is_unused<Attribute> >::type*
    125126#endif
  • trunk/boost/spirit/home/support/attributes_fwd.hpp

    r63908 r63924  
    1313#endif
    1414
    15 #if defined(__GNUC__) && (__GNUC__ < 4)
     15#include <boost/config.hpp>
     16#if (defined(__GNUC__) && (__GNUC__ < 4)) || \
     17    (defined(__APPLE__) && defined(__INTEL_COMPILER))
    1618#include <boost/utility/enable_if.hpp>
    1719#endif
     
    110112    typename spirit::result_of::extract_from<Exposed, Attribute>::type
    111113    extract_from(Attribute const& attr, Context& ctx
    112 #if defined(__GNUC__) && (__GNUC__ < 4)
     114#if (defined(__GNUC__) && (__GNUC__ < 4)) || \
     115    (defined(__APPLE__) && defined(__INTEL_COMPILER))
    113116      , typename enable_if<traits::not_is_unused<Attribute> >::type* = NULL
    114117#endif
Note: See TracChangeset for help on using the changeset viewer.