Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80342 - trunk/boost/thread/detail
From: vicente.botet_at_[hidden]
Date: 2012-08-31 19:27:20


Author: viboes
Date: 2012-08-31 19:27:20 EDT (Fri, 31 Aug 2012)
New Revision: 80342
URL: http://svn.boost.org/trac/boost/changeset/80342

Log:
Thread: Avoid double definition of BOOST_THREAD_DONT_USE_CHRONO
Text files modified:
   trunk/boost/thread/detail/config.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/thread/detail/config.hpp
==============================================================================
--- trunk/boost/thread/detail/config.hpp (original)
+++ trunk/boost/thread/detail/config.hpp 2012-08-31 19:27:20 EDT (Fri, 31 Aug 2012)
@@ -13,8 +13,10 @@
 
 // This compiler doesn't support Boost.Chrono
 #if defined __IBMCPP__ && (__IBMCPP__ < 1100)
+#if ! defined BOOST_THREAD_DONT_USE_CHRONO
 #define BOOST_THREAD_DONT_USE_CHRONO
 #endif
+#endif
 
 // This compiler doesn't support Boost.Move
 #if BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100)


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