mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-08 06:47:09 +02:00
20 lines
458 B
Diff
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>
|