Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74525 - trunk/boost/chrono
From: vicente.botet_at_[hidden]
Date: 2011-09-22 17:52:10


Author: viboes
Date: 2011-09-22 17:52:08 EDT (Thu, 22 Sep 2011)
New Revision: 74525
URL: http://svn.boost.org/trac/boost/changeset/74525

Log:
Chrono: It seems that thread_clocks are not working on Solaris. Inhibit them until a workaround is found :(
Text files modified:
   trunk/boost/chrono/config.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/chrono/config.hpp
==============================================================================
--- trunk/boost/chrono/config.hpp (original)
+++ trunk/boost/chrono/config.hpp 2011-09-22 17:52:08 EDT (Thu, 22 Sep 2011)
@@ -66,6 +66,10 @@
 # define BOOST_CHRONO_HAS_THREAD_CLOCK
 # define BOOST_CHRONO_THREAD_CLOCK_IS_STEADY true
 # endif
+# if defined(sun) || defined(__sun)
+# undef BOOST_CHRONO_HAS_THREAD_CLOCK
+# undef BOOST_CHRONO_THREAD_CLOCK_IS_STEADY
+# endif
 # endif
 
 #if defined(BOOST_CHRONO_THREAD_DISABLED) && defined(BOOST_CHRONO_HAS_THREAD_CLOCK)


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