blob: abfde25067eb51eec3e912993d4bd68e2e26a903 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-mozilla_ipc_chromium_src_base_platform__thread.h,v 1.9 2013/09/28 14:37:05 ryoon Exp $
--- mozilla/ipc/chromium/src/base/platform_thread.h.orig 2013-09-16 18:26:38.000000000 +0000
+++ mozilla/ipc/chromium/src/base/platform_thread.h
@@ -25,6 +25,9 @@ typedef pthread_t PlatformThreadHandle;
#if defined(OS_LINUX) || defined(OS_OPENBSD) || defined(__GLIBC__)
#include <unistd.h>
typedef pid_t PlatformThreadId;
+#elif defined(OS_SOLARIS)
+#include <sys/lwp.h>
+typedef lwpid_t PlatformThreadId;
#elif defined(OS_BSD)
#include <sys/types.h>
typedef lwpid_t PlatformThreadId;
|