aboutsummaryrefslogtreecommitdiffstats
path: root/testing/thunderbird/fix-musl.patch
blob: 996a45f130191d032f1ee74b748a332938ef9a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/tools/profiler/core/platform-linux-android.cpp	2019-07-09 22:58:30.039475686 +0200
+++ b/tools/profiler/core/platform-linux-android.cpp	2019-07-09 22:58:39.331437677 +0200
@@ -73,7 +73,7 @@
 
 int profiler_current_thread_id() {
   // glibc doesn't provide a wrapper for gettid().
-#if defined(__GLIBC__)
+#if defined(__linux__)
   return static_cast<int>(static_cast<pid_t>(syscall(SYS_gettid)));
 #else
   return static_cast<int>(gettid());