]> git.pld-linux.org Git - packages/boost.git/commitdiff
- proper atomicity includes depending on gcc version
authorshadzik <shadzik@pld-linux.org>
Tue, 24 Apr 2007 19:21:28 +0000 (19:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- posted by Bartłomiej Zimoń (uzi18 at o2 dot pl)

Changed files:
    boost-atomicity.patch -> 1.1

boost-atomicity.patch [new file with mode: 0644]

diff --git a/boost-atomicity.patch b/boost-atomicity.patch
new file mode 100644 (file)
index 0000000..955cb66
--- /dev/null
@@ -0,0 +1,16 @@
+diff -urN boost.org/detail/atomic_count_gcc.hpp boost/detail/atomic_count_gcc.hpp
+--- boost.org/detail/atomic_count_gcc.hpp      2005-04-02 11:37:53.000000000 +0000
++++ boost/detail/atomic_count_gcc.hpp  2007-04-24 19:03:25.516377811 +0000
+@@ -17,7 +17,11 @@
+ //  http://www.boost.org/LICENSE_1_0.txt)
+ //
+-#include <bits/atomicity.h>
++#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)
++#include <ext/atomicity.h>
++#else
++#include <bin/atomicity.h>
++#endif
+ namespace boost
+ {
This page took 0.17269 seconds and 4 git commands to generate.