summaryrefslogtreecommitdiffstats
path: root/source/xap/seamonkey/seamonkey.gettid.patch
blob: 81d5eabf9b94ce92f2f14d92a3822718508edb4c (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Nrbu seamonkey-2.49.4/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h seamonkey-2.49.4-OK/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h
--- seamonkey-2.49.4/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h	2018-07-12 05:19:15.000000000 +0300
+++ seamonkey-2.49.4-OK/seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h	2019-07-27 20:31:47.675086876 +0300
@@ -65,10 +65,7 @@
 #include <unistd.h>
 #if !defined(__BIONIC__)
 #include <sys/syscall.h>
-static inline pid_t gettid()
-{
-  return (pid_t) syscall(SYS_gettid);
-}
+
 #endif
 #endif