Ticket #7937: local_time_types.hpp.patch

File local_time_types.hpp.patch, 721 bytes (added by p.brockamp@…, 10 years ago)

Patch for bug in local_time_types.hpp

  • local_time_types.hpp

     
    2626  typedef date_time::time_itr<local_date_time> local_time_iterator;
    2727
    2828  typedef date_time::second_clock<local_date_time> local_sec_clock;
    29   typedef date_time::microsec_clock<local_date_time> local_microsec_clock;
     29#  ifdef BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK
     30    typedef date_time::microsec_clock<local_date_time> local_microsec_clock;
     31#  endif
    3032 
    3133  typedef date_time::time_zone_base<posix_time::ptime, char> time_zone;
    3234  typedef date_time::time_zone_base<posix_time::ptime, wchar_t> wtime_zone;