aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-platform-gettid.patch
blob: 385a926ce9161b48647999ef96f7a404b6ad29c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- seamonkey-2.39/mozilla/tools/profiler/core/platform.h.orig
+++ seamonkey-2.39/mozilla/tools/profiler/core/platform.h
@@ -60,14 +60,14 @@
 
 // We need a definition of gettid(), but glibc doesn't provide a
 // wrapper for it.
-#if defined(__GLIBC__)
+//#if defined(__GLIBC__)
 #include <unistd.h>
 #include <sys/syscall.h>
 static inline pid_t gettid()
 {
   return (pid_t) syscall(SYS_gettid);
 }
-#endif
+//#endif
 
 #ifdef XP_WIN
 #include <windows.h>