Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84790 - trunk/boost/chrono/io
From: vicente.botet_at_[hidden]
Date: 2013-06-15 05:35:37


Author: viboes
Date: 2013-06-15 05:35:37 EDT (Sat, 15 Jun 2013)
New Revision: 84790
URL: http://svn.boost.org/trac/boost/changeset/84790

Log:
Chrono: Apply patch to set BOOST_CHRONO_INTERNAL_TIMEGM on Solaris/gcc #8696.

Text files modified:
   trunk/boost/chrono/io/time_point_io.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/chrono/io/time_point_io.hpp
==============================================================================
--- trunk/boost/chrono/io/time_point_io.hpp Sat Jun 15 04:04:54 2013 (r84789)
+++ trunk/boost/chrono/io/time_point_io.hpp 2013-06-15 05:35:37 EDT (Sat, 15 Jun 2013) (r84790)
@@ -33,7 +33,10 @@
 #include <locale>
 #include <string.h>
 
-#define BOOST_CHRONO_INTERNAL_TIMEGM defined BOOST_WINDOWS && ! defined(__CYGWIN__)
+#define BOOST_CHRONO_INTERNAL_TIMEGM \
+ ( defined BOOST_WINDOWS && ! defined(__CYGWIN__) ) || \
+ ( (defined(sun) || defined(__sun)) && defined __GNUC__)
+
 #define BOOST_CHRONO_INTERNAL_GMTIME defined BOOST_WINDOWS && ! defined(__CYGWIN__)
 
 #define BOOST_CHRONO_USES_INTERNAL_TIME_GET


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