Ticket #8466: fix-vc11-tr1-detection.patch

File fix-vc11-tr1-detection.patch, 553 bytes (added by Vaclav Slavik <vslavik@…>, 10 years ago)

patch to fix VC11 detection

  • boost/tr1/detail/config.hpp

     
    137137// this here, in addition the feature pack for VC9
    138138// provides a more or less full TR1 implementation:
    139139//
    140 #  if defined(_HAS_TR1) && (_HAS_TR1 + 0)
     140#  if (defined(_HAS_TR1) && (_HAS_TR1 + 0)) || (_MSC_VER >= 1700)
    141141#    define BOOST_HAS_TR1_ARRAY
    142142#    define BOOST_HAS_TR1_REFERENCE_WRAPPER
    143143#    define BOOST_HAS_TR1_RESULT_OF