aboutsummaryrefslogtreecommitdiff
path: root/mail/thunderbird/files/patch-ipc-chromium-src-base-platform_thread_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird/files/patch-ipc-chromium-src-base-platform_thread_posix.cc')
-rw-r--r--mail/thunderbird/files/patch-ipc-chromium-src-base-platform_thread_posix.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-ipc-chromium-src-base-platform_thread_posix.cc b/mail/thunderbird/files/patch-ipc-chromium-src-base-platform_thread_posix.cc
new file mode 100644
index 000000000000..3445b281bc48
--- /dev/null
+++ b/mail/thunderbird/files/patch-ipc-chromium-src-base-platform_thread_posix.cc
@@ -0,0 +1,12 @@
+--- mozilla/ipc/chromium/src/base/platform_thread_posix.cc.orig 2011-04-27 09:34:28.000000000 +0200
++++ mozilla/ipc/chromium/src/base/platform_thread_posix.cc 2011-04-27 19:47:36.344446266 +0200
+@@ -34,7 +33,8 @@
+ #if defined(OS_MACOSX)
+ return mach_thread_self();
+ #elif defined(OS_LINUX)
+- return syscall(__NR_gettid);
++ // TODO(BSD): find a better thread ID
++ return reinterpret_cast<int64>(pthread_self());
+ #endif
+ }
+