Ticket #2525: atomic_count_gcc.patch

File atomic_count_gcc.patch, 381 bytes (added by Steven Robbins <smr@…>, 14 years ago)
  • boost/detail/atomic_count_gcc.hpp

    old new  
    1717//  http://www.boost.org/LICENSE_1_0.txt)
    1818//
    1919
    20 #include <bits/atomicity.h>
     20#if defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 402 )
     21#  include <ext/atomicity.h>
     22#else
     23#  include <bits/atomicity.h>
     24#endif
    2125
    2226namespace boost
    2327{