Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84287 - trunk/boost/lockfree/detail
From: tim_at_[hidden]
Date: 2013-05-15 02:12:15


Author: timblechmann
Date: 2013-05-15 02:12:14 EDT (Wed, 15 May 2013)
New Revision: 84287
URL: http://svn.boost.org/trac/boost/changeset/84287

Log:
lockfree: don't pollute public namespace
Text files modified:
   trunk/boost/lockfree/detail/atomic.hpp | 14 +++++++-------
   1 files changed, 7 insertions(+), 7 deletions(-)

Modified: trunk/boost/lockfree/detail/atomic.hpp
==============================================================================
--- trunk/boost/lockfree/detail/atomic.hpp (original)
+++ trunk/boost/lockfree/detail/atomic.hpp 2013-05-15 02:12:14 EDT (Wed, 15 May 2013)
@@ -20,20 +20,20 @@
 // GCC supports atomic<> from version 4.8 onwards.
 #if defined(__GNUC__)
 # if defined(__GNUC_PATCHLEVEL__)
-# define __GNUC_VERSION__ (__GNUC__ * 10000 \
- + __GNUC_MINOR__ * 100 \
- + __GNUC_PATCHLEVEL__)
+# define BOOST_ATOMIC_GNUC_VERSION (__GNUC__ * 10000 \
+ + __GNUC_MINOR__ * 100 \
+ + __GNUC_PATCHLEVEL__)
 # else
-# define __GNUC_VERSION__ (__GNUC__ * 10000 \
- + __GNUC_MINOR__ * 100)
+# define BOOST_LOCKFREE_GNUC_VERSION (__GNUC__ * 10000 \
+ + __GNUC_MINOR__ * 100)
 # endif
 #endif
 
-#if (__GNUC_VERSION__ >= 40800) && (__cplusplus >= 201103L)
+#if (BOOST_LOCKFREE_GNUC_VERSION >= 40800) && (__cplusplus >= 201103L)
 #undef BOOST_LOCKFREE_NO_HDR_ATOMIC
 #endif
 
-#undef __GNUC_VERSION__
+#undef BOOST_LOCKFREE_GNUC_VERSION
 
 #if defined(BOOST_LOCKFREE_NO_HDR_ATOMIC)
 #include <boost/atomic.hpp>


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