Index: runtime/vm/os_macos.cc |
=================================================================== |
--- runtime/vm/os_macos.cc (revision 27712) |
+++ runtime/vm/os_macos.cc (working copy) |
@@ -26,6 +26,11 @@ |
} |
+intptr_t OS::ProcessId() { |
+ return static_cast<intptr_t>(getpid()); |
+} |
+ |
+ |
static bool LocalTime(int64_t seconds_since_epoch, tm* tm_result) { |
time_t seconds = static_cast<time_t>(seconds_since_epoch); |
if (seconds != seconds_since_epoch) return false; |