Tweak math/qhull5 version 1.0_3
[dports.git] / net-p2p / eiskaltdcpp-lib / files / patch-dcpp-Atomic.h
1 --- dcpp/Atomic.h.orig  2012-01-27 21:20:06.000000000 +0300
2 +++ dcpp/Atomic.h       2012-01-27 21:21:11.000000000 +0300
3 @@ -57,18 +57,18 @@
4  
5          // type cast
6          operator value_type() const {
7 -                return boost::interprocess::detail::atomic_read32(&m_value);
8 +                return boost::interprocess::ipcdetail::atomic_read32(&m_value);
9          }
10  
11          // increment
12 -        void inc() { boost::interprocess::detail::atomic_inc32(&m_value); }
13 +        void inc() { boost::interprocess::ipcdetail::atomic_inc32(&m_value); }
14  
15          // decrement
16 -        void dec() { boost::interprocess::detail::atomic_dec32(&m_value); }
17 +        void dec() { boost::interprocess::ipcdetail::atomic_dec32(&m_value); }
18  
19  private:
20          mutable value_type m_value;
21 -        void assign(value_type val) { boost::interprocess::detail::atomic_write32(&m_value, val); }
22 +        void assign(value_type val) { boost::interprocess::ipcdetail::atomic_write32(&m_value, val); }
23  };
24  
25  // int32_t