diff --git boost/chrono/io/time_point_io.hpp boost/chrono/io/time_point_io.hpp index f129634..b85ac57 100644 --- boost/chrono/io/time_point_io.hpp +++ boost/chrono/io/time_point_io.hpp @@ -33,7 +33,8 @@ #include #include -#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