| Index: runtime/vm/os_win.cc
|
| ===================================================================
|
| --- runtime/vm/os_win.cc (revision 27712)
|
| +++ runtime/vm/os_win.cc (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include "vm/vtune.h"
|
|
|
| #include <malloc.h> // NOLINT
|
| +#include <process.h> // NOLINT
|
| #include <time.h> // NOLINT
|
|
|
| #include "platform/utils.h"
|
| @@ -21,6 +22,11 @@
|
| }
|
|
|
|
|
| +intptr_t OS::ProcessId() {
|
| + return static_cast<intptr_t>(GetCurrentProcessId());
|
| +}
|
| +
|
| +
|
| // As a side-effect sets the globals _timezone, _daylight and _tzname.
|
| static bool LocalTime(int64_t seconds_since_epoch, tm* tm_result) {
|
| time_t seconds = static_cast<time_t>(seconds_since_epoch);
|
|
|