Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85993 - trunk/boost/smart_ptr/detail
From: pdimov_at_[hidden]
Date: 2013-09-29 06:43:15


Author: pdimov
Date: 2013-09-29 06:43:15 EDT (Sun, 29 Sep 2013)
New Revision: 85993
URL: http://svn.boost.org/trac/boost/changeset/85993

Log:
Revert MSC_VER changes.

Text files modified:
   trunk/boost/smart_ptr/detail/spinlock_w32.hpp | 2 +-
   trunk/boost/smart_ptr/detail/yield_k.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/smart_ptr/detail/spinlock_w32.hpp
==============================================================================
--- trunk/boost/smart_ptr/detail/spinlock_w32.hpp Sat Sep 28 16:15:45 2013 (r85992)
+++ trunk/boost/smart_ptr/detail/spinlock_w32.hpp 2013-09-29 06:43:15 EDT (Sun, 29 Sep 2013) (r85993)
@@ -24,7 +24,7 @@
 
 #define BOOST_COMPILER_FENCE __memory_barrier();
 
-#elif defined( _MSC_VER )
+#elif defined( _MSC_VER ) && _MSC_VER >= 1310
 
 extern "C" void _ReadWriteBarrier();
 #pragma intrinsic( _ReadWriteBarrier )

Modified: trunk/boost/smart_ptr/detail/yield_k.hpp
==============================================================================
--- trunk/boost/smart_ptr/detail/yield_k.hpp Sat Sep 28 16:15:45 2013 (r85992)
+++ trunk/boost/smart_ptr/detail/yield_k.hpp 2013-09-29 06:43:15 EDT (Sun, 29 Sep 2013) (r85993)
@@ -27,7 +27,7 @@
 
 // BOOST_SMT_PAUSE
 
-#if defined(_MSC_VER) && ( defined(_M_IX86) || defined(_M_X64) )
+#if defined(_MSC_VER) && _MSC_VER >= 1310 && ( defined(_M_IX86) || defined(_M_X64) )
 
 extern "C" void _mm_pause();
 #pragma intrinsic( _mm_pause )


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