summaryrefslogtreecommitdiffstats
path: root/source/xap/mozilla-thunderbird/mozilla-thunderbird.gettid.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/mozilla-thunderbird/mozilla-thunderbird.gettid.diff')
-rw-r--r--source/xap/mozilla-thunderbird/mozilla-thunderbird.gettid.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/xap/mozilla-thunderbird/mozilla-thunderbird.gettid.diff b/source/xap/mozilla-thunderbird/mozilla-thunderbird.gettid.diff
new file mode 100644
index 000000000..83d607a5d
--- /dev/null
+++ b/source/xap/mozilla-thunderbird/mozilla-thunderbird.gettid.diff
@@ -0,0 +1,10 @@
+--- ./tools/profiler/core/platform.h.orig 2019-07-03 10:25:38.000000000 -0500
++++ ./tools/profiler/core/platform.h 2019-08-20 13:15:02.648307043 -0500
+@@ -47,7 +47,6 @@
+ #if defined(__GLIBC__)
+ #include <unistd.h>
+ #include <sys/syscall.h>
+-static inline pid_t gettid() { return (pid_t)syscall(SYS_gettid); }
+ #elif defined(GP_OS_darwin)
+ #include <unistd.h>
+ #include <sys/syscall.h>