changeset 2012 | 041fbc6030dd |
parent 1664 | fc9ed50498fb |
child 2254 | f13dda645a4b |
child 2105 | 347008ce7984 |
--- a/hotspot/src/os/windows/vm/os_windows.cpp Mon Feb 09 17:33:06 2009 +0300 +++ b/hotspot/src/os/windows/vm/os_windows.cpp Mon Feb 09 12:26:05 2009 -0800 @@ -327,6 +327,14 @@ return sz; } +struct tm* os::localtime_pd(const time_t* clock, struct tm* res) { + const struct tm* time_struct_ptr = localtime(clock); + if (time_struct_ptr != NULL) { + *res = *time_struct_ptr; + return res; + } + return NULL; +} LONG WINAPI topLevelExceptionFilter(struct _EXCEPTION_POINTERS* exceptionInfo);