< prev index next >

hotspot/src/share/vm/runtime/os.cpp

Print this page

        

@@ -122,10 +122,12 @@
     assert(false, "Failed localtime_pd");
     return NULL;
   }
 #if defined(_ALLBSD_SOURCE)
   const time_t zone = (time_t) time_struct.tm_gmtoff;
+#elif defined(_WIN32) && _MSC_VER > 1800
+  const time_t zone = _timezone;
 #else
   const time_t zone = timezone;
 #endif
 
   // If daylight savings time is in effect,
< prev index next >