aboutsummaryrefslogtreecommitdiff
path: root/mail/thunderbird-esr/files/patch-ipc-chromium-src-base-platform_thread_posix.cc
blob: 3445b281bc480da16cad2f4829a31065cbe8508e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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
 }