Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84700 - trunk/libs/atomic/test
From: andrey.semashev_at_[hidden]
Date: 2013-06-08 14:22:36


Author: andysem
Date: 2013-06-08 14:22:36 EDT (Sat, 08 Jun 2013)
New Revision: 84700
URL: http://svn.boost.org/trac/boost/changeset/84700

Log:
Code cleanup.

Text files modified:
   trunk/libs/atomic/test/lockfree.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/atomic/test/lockfree.cpp
==============================================================================
--- trunk/libs/atomic/test/lockfree.cpp Sat Jun 8 14:10:21 2013 (r84699)
+++ trunk/libs/atomic/test/lockfree.cpp 2013-06-08 14:22:36 EDT (Sat, 08 Jun 2013) (r84700)
@@ -129,7 +129,7 @@
 #define EXPECT_SHORT_LOCK_FREE 2
 #define EXPECT_INT_LOCK_FREE 2
 #define EXPECT_LONG_LOCK_FREE 2
-#if defined(_WIN64) || (defined(_M_IX86) && _M_IX86 >= 500) || defined(_M_AMD64) || defined(_M_IA64)
+#if defined(_WIN64) || defined(BOOST_ATOMIC_X86_HAS_CMPXCHG8B) || defined(_M_AMD64) || defined(_M_IA64)
 #define EXPECT_LLONG_LOCK_FREE 2
 #else
 #define EXPECT_LLONG_LOCK_FREE 0


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