--- a/hotspot/src/os/windows/vm/os_windows.cpp Thu Oct 13 14:49:34 2016 +0200
+++ b/hotspot/src/os/windows/vm/os_windows.cpp Fri Oct 21 10:18:11 2016 +0200
@@ -403,6 +403,15 @@
return NULL;
}
+struct tm* os::gmtime_pd(const time_t* clock, struct tm* res) {
+ const struct tm* time_struct_ptr = gmtime(clock);
+ if (time_struct_ptr != NULL) {
+ *res = *time_struct_ptr;
+ return res;
+ }
+ return NULL;
+}
+
LONG WINAPI topLevelExceptionFilter(struct _EXCEPTION_POINTERS* exceptionInfo);
// Thread start routine for all newly created threads