Index: src/platform-win32.cc |
diff --git a/src/platform-win32.cc b/src/platform-win32.cc |
index 2473949dec583e6e5ae85799f42df8f60dbae790..49463be8e00fbf8ab022e71ba8af5fccaf0f2f09 100644 |
--- a/src/platform-win32.cc |
+++ b/src/platform-win32.cc |
@@ -627,6 +627,11 @@ int OS::GetLastError() { |
} |
+int OS::GetCurrentProcessId() { |
+ return static_cast<int>(::GetCurrentProcessId()); |
+} |
+ |
+ |
// ---------------------------------------------------------------------------- |
// Win32 console output. |
// |