9eba8388ff
[ci skip]
11 lines
305 B
Diff
11 lines
305 B
Diff
--- tools/profiler/core/platform.h.orig
|
|
+++ tools/profiler/core/platform.h
|
|
@@ -56,7 +56,7 @@
|
|
|
|
// We need a definition of gettid(), but glibc doesn't provide a
|
|
// wrapper for it.
|
|
-#if defined(__GLIBC__)
|
|
+#if defined(__linux__)
|
|
#include <unistd.h>
|
|
#include <sys/syscall.h>
|
|
static inline pid_t gettid()
|