aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-platform-linux.patch
blob: f9e3192906fcc558fb001a12d76350a565d43502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- seamonkey-2.39/mozilla/tools/profiler/core/platform-linux.cc.orig
+++ seamonkey-2.39/mozilla/tools/profiler/core/platform-linux.cc
@@ -98,6 +98,10 @@
 
 #define SIGNAL_SAVE_PROFILE SIGUSR2
 
+#ifndef gettid
+#define gettid() syscall(SYS_gettid)
+#endif
+
 using namespace mozilla;
 
 #if defined(USE_LUL_STACKWALK)