Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74585 - trunk/boost/chrono/stopwatches/reporters
From: vicente.botet_at_[hidden]
Date: 2011-09-26 18:18:34


Author: viboes
Date: 2011-09-26 18:18:33 EDT (Mon, 26 Sep 2011)
New Revision: 74585
URL: http://svn.boost.org/trac/boost/changeset/74585

Log:
Chrono: try to fic issue with process_cpu_clocks in CE
Text files modified:
   trunk/boost/chrono/stopwatches/reporters/process_default_formatter.hpp | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/boost/chrono/stopwatches/reporters/process_default_formatter.hpp
==============================================================================
--- trunk/boost/chrono/stopwatches/reporters/process_default_formatter.hpp (original)
+++ trunk/boost/chrono/stopwatches/reporters/process_default_formatter.hpp 2011-09-26 18:18:33 EDT (Mon, 26 Sep 2011)
@@ -14,6 +14,8 @@
 #include <boost/chrono/stopwatches/simple_stopwatch.hpp>
 #include <boost/chrono/process_cpu_clocks.hpp>
 
+#if defined(BOOST_CHRONO_HAS_PROCESS_CLOCKS)
+
 namespace boost
 {
   namespace chrono
@@ -71,6 +73,7 @@
 } // namespace boost
 
 
+#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