]> git.pld-linux.org Git - packages/boost.git/blame - boost-atomicity.patch
- proper atomicity includes depending on gcc version
[packages/boost.git] / boost-atomicity.patch
CommitLineData
da35b53a 1diff -urN boost.org/detail/atomic_count_gcc.hpp boost/detail/atomic_count_gcc.hpp
2--- boost.org/detail/atomic_count_gcc.hpp 2005-04-02 11:37:53.000000000 +0000
3+++ boost/detail/atomic_count_gcc.hpp 2007-04-24 19:03:25.516377811 +0000
4@@ -17,7 +17,11 @@
5 // http://www.boost.org/LICENSE_1_0.txt)
6 //
7
8-#include <bits/atomicity.h>
9+#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)
10+#include <ext/atomicity.h>
11+#else
12+#include <bin/atomicity.h>
13+#endif
14
15 namespace boost
16 {
This page took 0.171088 seconds and 4 git commands to generate.