Ticket #6996: boost_1_51_0-aix_gcc.patch

File boost_1_51_0-aix_gcc.patch, 679 bytes (added by crispin.boylan@…, 10 years ago)

Patch to compile on aix with gcc 4.7

  • boost/smart_ptr/detail/sp_counted_base.hpp

    old new  
    4747#elif defined( __MWERKS__ ) && defined( __POWERPC__ )
    4848# include <boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp>
    4949
    50 #elif defined( __GNUC__ ) && ( defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc ) )
     50#elif !defined( _AIX ) && defined( __GNUC__ ) && ( defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc ) )
    5151# include <boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp>
    5252
    5353#elif defined( __GNUC__ ) && ( defined( __mips__ ) || defined( _mips ) )