Ticket #8696: bug_8696.patch

File bug_8696.patch, 652 bytes (added by tmmikolajczyk@…, 9 years ago)

patch

  • boost/chrono/io/time_point_io.hpp

    diff --git boost/chrono/io/time_point_io.hpp boost/chrono/io/time_point_io.hpp
    index f129634..b85ac57 100644
     
    3333#include <locale>
    3434#include <string.h>
    3535
    36 #define  BOOST_CHRONO_INTERNAL_TIMEGM defined BOOST_WINDOWS && ! defined(__CYGWIN__)
     36#define  BOOST_CHRONO_INTERNAL_TIMEGM (defined BOOST_WINDOWS && ! defined(__CYGWIN__)) || \
     37                                      ((defined(sun) || defined(__sun)) && defined __GNUC__)
    3738#define  BOOST_CHRONO_INTERNAL_GMTIME defined BOOST_WINDOWS && ! defined(__CYGWIN__)
    3839
    3940#define  BOOST_CHRONO_USES_INTERNAL_TIME_GET