summarylogtreecommitdiffstats
path: root/gettid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gettid.patch')
-rw-r--r--gettid.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gettid.patch b/gettid.patch
new file mode 100644
index 000000000000..27a1b017e013
--- /dev/null
+++ b/gettid.patch
@@ -0,0 +1,13 @@
+--- seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h.orig 2020-04-09 05:40:25.587372314 +0300
++++ seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2020-04-09 05:41:24.195387788 +0300
+@@ -65,10 +65,6 @@
+ #include <unistd.h>
+ #if !defined(__BIONIC__)
+ #include <sys/syscall.h>
+-static inline pid_t gettid()
+-{
+- return (pid_t) syscall(SYS_gettid);
+-}
+ #endif
+ #endif
+