Ticket #6901: sp_has_sync.hpp.patch

File sp_has_sync.hpp.patch, 712 bytes (added by hstong@…, 10 years ago)

Enable use of sync builtins support in VACPP.

  • boost/smart_ptr/detail/sp_has_sync.hpp

    old new  
    2020//  are available.
    2121//
    2222
    23 #if defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( BOOST_SP_NO_SYNC )
     23#ifndef BOOST_SP_NO_SYNC
     24
     25#if defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
    2426
    2527#define BOOST_SP_HAS_SYNC
    2628
     
    5456
    5557#endif // __GNUC__ * 100 + __GNUC_MINOR__ >= 401
    5658
     59#if defined( __IBMCPP__ ) && ( __IBMCPP__ >= 1210 )
     60#define BOOST_SP_HAS_SYNC
     61#endif
     62
     63#endif // !defined( BOOST_SP_NO_SYNC )
     64
    5765#endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_HAS_SYNC_HPP_INCLUDED