summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Platform/PlatformProcessIdentifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Platform/PlatformProcessIdentifier.h')
-rw-r--r--Source/WebKit2/Platform/PlatformProcessIdentifier.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WebKit2/Platform/PlatformProcessIdentifier.h b/Source/WebKit2/Platform/PlatformProcessIdentifier.h
index 0363692..5022da7 100644
--- a/Source/WebKit2/Platform/PlatformProcessIdentifier.h
+++ b/Source/WebKit2/Platform/PlatformProcessIdentifier.h
@@ -40,7 +40,12 @@ typedef HANDLE PlatformProcessIdentifier;
#elif PLATFORM(QT)
typedef QProcess* PlatformProcessIdentifier;
#elif PLATFORM(GTK)
-typedef pid_t PlatformProcessIdentifier;
+#ifdef G_OS_WIN32
+typedef void* GPid;
+#else
+typedef int GPid;
+#endif
+typedef GPid PlatformProcessIdentifier;
#endif
} // namespace WebKit