Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68003 - trunk/boost/chrono
From: vicente.botet_at_[hidden]
Date: 2011-01-11 18:17:17


Author: viboes
Date: 2011-01-11 18:17:16 EST (Tue, 11 Jan 2011)
New Revision: 68003
URL: http://svn.boost.org/trac/boost/changeset/68003

Log:
Boost.Chrono: Added THREAD_CLOCK disabler macro

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-01-11 18:17:16 EST (Tue, 11 Jan 2011)
@@ -60,6 +60,10 @@
 # endif
 # endif
 
+#if defined(BOOST_CHRONO_THREAD_DISABLED) && defined(BOOST_CHRONO_HAS_THREAD_CLOCK)
+#undef BOOST_CHRONO_HAS_THREAD_CLOCK
+#undef BOOST_CHRONO_THREAD_CLOCK_IS_STEADY
+#endif
 // unicode support
 
 #if defined(BOOST_NO_UNICODE_LITERALS) || defined(BOOST_NO_CHAR16_T) || defined(BOOST_NO_CHAR32_T)


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