aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/avoid-getcontext-musl.patch
blob: 5887a7a722073d156771c04279fedfff80335f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/mozilla/tools/profiler/core/platform-linux.cc
+++ b/mozilla/tools/profiler/core/platform-linux.cc
@@ -625,10 +625,10 @@
 {
   MOZ_ASSERT(aContext);
   ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext);
-  if (!getcontext(pContext)) {
+  /*if (!getcontext(pContext)) {
     context = pContext;
     SetSampleContext(this, aContext);
-  }
+  }*/
 }
 
 void OS::SleepMicro(int microseconds)