aports/testing/seamonkey/fix-platform-gettid.patch

20 lines
458 B
Diff

--- 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>