SOURCES: boost-atomicity.patch (NEW) - proper atomicity includes d...
shadzik
shadzik at pld-linux.org
Tue Apr 24 21:21:34 CEST 2007
Author: shadzik Date: Tue Apr 24 19:21:33 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- proper atomicity includes depending on gcc version
- posted by Bart³omiej Zimoñ (uzi18 at o2 dot pl)
---- Files affected:
SOURCES:
boost-atomicity.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/boost-atomicity.patch
diff -u /dev/null SOURCES/boost-atomicity.patch:1.1
--- /dev/null Tue Apr 24 21:21:33 2007
+++ SOURCES/boost-atomicity.patch Tue Apr 24 21:21:28 2007
@@ -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
+ {
================================================================
More information about the pld-cvs-commit
mailing list