~pavel-pimenov/dcplusplus/flylinkdc-mediainfo

« back to all changes in this revision

Viewing changes to dcpp/atomic.h

  • Committer: pavel pimenov
  • Date: 2012-06-20 20:33:42 UTC
  • mfrom: (2636.1.320 dcplusplus)
  • Revision ID: pavel.pimenov@gmail.com-20120620203342-3m372zf0tc2le48a
* [merge]

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef DCPLUSPLUS_DCPP_ATOMIC_HPP_
20
20
#define DCPLUSPLUS_DCPP_ATOMIC_HPP_
21
21
 
22
 
// GCC 4.6 and below has issues with atomic - see https://bugs.launchpad.net/dcplusplus/+bug/735512
23
 
#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7))
 
22
// GCC has issues with atomic - see https://bugs.launchpad.net/dcplusplus/+bug/735512
 
23
/// @todo check this again when GCC improves their threading support
 
24
#if defined(__GNUC__)
24
25
 
25
26
#include <boost/atomic.hpp>
26
27