Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63216 - trunk/boost/thread
From: steven_at_[hidden]
Date: 2010-06-21 21:59:24


Author: steven_watanabe
Date: 2010-06-21 21:59:23 EDT (Mon, 21 Jun 2010)
New Revision: 63216
URL: http://svn.boost.org/trac/boost/changeset/63216

Log:
Use __SUNPRO_CC instead of SUNPRO_CC. Fixes #4363.
Text files modified:
   trunk/boost/thread/locks.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/thread/locks.hpp
==============================================================================
--- trunk/boost/thread/locks.hpp (original)
+++ trunk/boost/thread/locks.hpp 2010-06-21 21:59:23 EDT (Mon, 21 Jun 2010)
@@ -277,7 +277,7 @@
         unique_lock& operator=(unique_lock&);
         unique_lock& operator=(upgrade_lock<Mutex>& other);
     public:
-#if BOOST_WORKAROUND(SUNPRO_CC, < 0x5100)
+#if BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100)
         unique_lock(const volatile unique_lock&);
 #endif
         unique_lock():
@@ -363,7 +363,7 @@
             return detail::thread_move_t<unique_lock<Mutex> >(*this);
         }
 
-#if BOOST_WORKAROUND(SUNPRO_CC, < 0x5100)
+#if BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100)
         unique_lock& operator=(unique_lock<Mutex> other)
         {
             swap(other);


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