summaryrefslogtreecommitdiff
path: root/lib/win32/emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/win32/emu.h')
-rw-r--r--lib/win32/emu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h
index 80c1d5d8..3cc3979c 100644
--- a/lib/win32/emu.h
+++ b/lib/win32/emu.h
@@ -162,6 +162,10 @@ inline int geteuid(void)
{
return 0;
}
+inline int getpid(void)
+{
+ return GetCurrentProcessId();
+}
#ifndef PATH_MAX
#define PATH_MAX MAX_PATH