diff options
author | Igor Zinkovsky <igorzi@microsoft.com> | 2011-11-02 18:27:43 -0700 |
---|---|---|
committer | Igor Zinkovsky <igorzi@microsoft.com> | 2011-11-02 18:27:43 -0700 |
commit | 434ccd2e20b95d641ee3f108ee7c7e3cd94c62a9 (patch) | |
tree | 0704b3e2854c53a2960fd57218ce39b595531e75 /src | |
parent | 24a69d22a0e7c3e089ab56f5b3800a69a44c6963 (diff) | |
download | node-new-434ccd2e20b95d641ee3f108ee7c7e3cd94c62a9.tar.gz |
fix process.uptime() on windows
Diffstat (limited to 'src')
-rw-r--r-- | src/platform_win32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform_win32.cc b/src/platform_win32.cc index e948947544..197b1ac31a 100644 --- a/src/platform_win32.cc +++ b/src/platform_win32.cc @@ -40,7 +40,7 @@ namespace node { using namespace v8; static char *process_title = NULL; -double Platform::prog_start_time = 0.0; +double Platform::prog_start_time = Platform::GetUptime(); // Does the about the same as strerror(), |