Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86422 - trunk/libs/chrono/test/io
From: vicente.botet_at_[hidden]
Date: 2013-10-24 17:13:13


Author: viboes
Date: 2013-10-24 17:13:13 EDT (Thu, 24 Oct 2013)
New Revision: 86422
URL: http://svn.boost.org/trac/boost/changeset/86422

Log:
Chrono: fix test_gmtime on windows

Text files modified:
   trunk/libs/chrono/test/io/time_point_output.cpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/libs/chrono/test/io/time_point_output.cpp
==============================================================================
--- trunk/libs/chrono/test/io/time_point_output.cpp Thu Oct 24 16:48:57 2013 (r86421)
+++ trunk/libs/chrono/test/io/time_point_output.cpp 2013-10-24 17:13:13 EDT (Thu, 24 Oct 2013) (r86422)
@@ -274,7 +274,8 @@
   check_all<boost::chrono::process_cpu_clock> ();
 #endif
 
-#if BOOST_CHRONO_VERSION == 2
+#if BOOST_CHRONO_INTERNAL_GMTIME
+#elif BOOST_CHRONO_VERSION == 2
   boost::chrono::system_clock::time_point tp = boost::chrono::system_clock::now();
   std::cout << tp << std::endl;
   time_t t = boost::chrono::system_clock::to_time_t(tp);


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