| Index: src/platform-win32.cc
|
| diff --git a/src/platform-win32.cc b/src/platform-win32.cc
|
| index 52c3050f3d4692bbc39374ce593019310ec237ca..f82dab8eb63f582b33871c7af04f5ec27e662b1e 100644
|
| --- a/src/platform-win32.cc
|
| +++ b/src/platform-win32.cc
|
| @@ -76,7 +76,6 @@ inline void MemoryBarrier() {
|
|
|
| #endif // __MINGW64_VERSION_MAJOR
|
|
|
| -
|
| int localtime_s(tm* out_tm, const time_t* time) {
|
| tm* posix_local_time_struct = localtime(time);
|
| if (posix_local_time_struct == NULL) return 1;
|
| @@ -251,6 +250,8 @@ class Win32Time {
|
| // timestamp taking into account daylight saving.
|
| char* LocalTimezone();
|
|
|
| + static void TimeZoneChanged() { tz_initialized_ = false; }
|
| +
|
| private:
|
| // Constants for time conversion.
|
| static const int64_t kTimeEpoc = 116444736000000000LL;
|
| @@ -611,6 +612,11 @@ double OS::DaylightSavingsOffset(double time) {
|
| }
|
|
|
|
|
| +void OS::TimeZoneChanged() {
|
| + Win32Time::TimeZoneChanged();
|
| +}
|
| +
|
| +
|
| int OS::GetLastError() {
|
| return ::GetLastError();
|
| }
|
|
|