mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
This release remove support for building against system sqlite, see https://bugzilla.mozilla.org/show_bug.cgi?id=1611386 for more information.
18 lines
625 B
Diff
18 lines
625 B
Diff
diff --git a/tools/profiler/core/platform-linux-android.cpp b/tools/profiler/core/platform-linux-android.cpp
|
|
index 19d0a5c56d..b64b543066 100644
|
|
--- a/tools/profiler/core/platform-linux-android.cpp
|
|
+++ b/tools/profiler/core/platform-linux-android.cpp
|
|
@@ -506,8 +506,10 @@ static void PlatformInit(PSLockRef aLock) {}
|
|
ucontext_t sSyncUContext;
|
|
|
|
void Registers::SyncPopulate() {
|
|
- if (!getcontext(&sSyncUContext)) {
|
|
- PopulateRegsFromContext(*this, &sSyncUContext);
|
|
- }
|
|
+ #if defined(__GLIBC__)
|
|
+ if (!getcontext(&sSyncUContext)) {
|
|
+ PopulateRegsFromContext(*this, &sSyncUContext);
|
|
+ }
|
|
+ #endif
|
|
}
|
|
#endif
|