Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74681 - trunk/boost/chrono/detail/inlined
From: vicente.botet_at_[hidden]
Date: 2011-10-03 17:14:33


Author: viboes
Date: 2011-10-03 17:14:32 EDT (Mon, 03 Oct 2011)
New Revision: 74681
URL: http://svn.boost.org/trac/boost/changeset/74681

Log:
Chrono: Add BOOST_CHRONO_HAS_PROCESS_CLOCKS protection for CE
Text files modified:
   trunk/boost/chrono/detail/inlined/process_cpu_clocks.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/chrono/detail/inlined/process_cpu_clocks.hpp
==============================================================================
--- trunk/boost/chrono/detail/inlined/process_cpu_clocks.hpp (original)
+++ trunk/boost/chrono/detail/inlined/process_cpu_clocks.hpp 2011-10-03 17:14:32 EDT (Mon, 03 Oct 2011)
@@ -13,6 +13,8 @@
 
 
 #include <boost/chrono/config.hpp>
+#if defined(BOOST_CHRONO_HAS_PROCESS_CLOCKS)
+
 #include <boost/version.hpp>
 #include <boost/chrono/process_cpu_clocks.hpp>
 #include <boost/throw_exception.hpp>
@@ -76,5 +78,6 @@
 } // namespace chrono
 } // namespace boost
 #endif
+#endif
 
 #endif


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