Boost logo

Boost-Commit :

From: troy_at_[hidden]
Date: 2007-05-27 05:15:56


Author: troy
Date: 2007-05-27 05:15:56 EDT (Sun, 27 May 2007)
New Revision: 4304
URL: http://svn.boost.org/trac/boost/changeset/4304

Log:

tweak this up for gcc 4.2 for good measure.

Text files modified:
   sandbox-branches/boost-cmake/boost_1_34_0/boost/detail/atomic_count_gcc.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: sandbox-branches/boost-cmake/boost_1_34_0/boost/detail/atomic_count_gcc.hpp
==============================================================================
--- sandbox-branches/boost-cmake/boost_1_34_0/boost/detail/atomic_count_gcc.hpp (original)
+++ sandbox-branches/boost-cmake/boost_1_34_0/boost/detail/atomic_count_gcc.hpp 2007-05-27 05:15:56 EDT (Sun, 27 May 2007)
@@ -17,7 +17,11 @@
 // http://www.boost.org/LICENSE_1_0.txt)
 //
 
+#if (__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)
+#include <ext/atomicity.h>
+#else
 #include <bits/atomicity.h>
+#endif
 
 namespace boost
 {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk