mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 06:17:14 +02:00
39 lines
980 B
Diff
39 lines
980 B
Diff
--- ./Source/JavaScriptCore/heap/MachineStackMarker.cpp.orig
|
|
+++ ./Source/JavaScriptCore/heap/MachineStackMarker.cpp
|
|
@@ -566,7 +566,7 @@
|
|
#error Unknown Architecture
|
|
#endif
|
|
|
|
-#elif defined(__GLIBC__) && ENABLE(JIT)
|
|
+#elif defined(__linux__) && ENABLE(JIT)
|
|
|
|
#if CPU(X86)
|
|
return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_ESP]);
|
|
@@ -665,7 +665,7 @@
|
|
#error Unknown Architecture
|
|
#endif
|
|
|
|
-#elif defined(__GLIBC__)
|
|
+#elif defined(__linux__) // glibc and musl
|
|
|
|
// The following sequence depends on glibc's sys/ucontext.h.
|
|
#if CPU(X86)
|
|
@@ -747,7 +747,7 @@
|
|
#error Unknown Architecture
|
|
#endif
|
|
|
|
-#elif defined(__GLIBC__)
|
|
+#elif defined(__linux__) // glibc and musl
|
|
|
|
// The following sequence depends on glibc's sys/ucontext.h.
|
|
#if CPU(X86)
|
|
@@ -838,7 +838,7 @@
|
|
#error Unknown Architecture
|
|
#endif
|
|
|
|
-#elif defined(__GLIBC__)
|
|
+#elif defined(__linux__) // glibc and musl
|
|
|
|
// The following sequence depends on glibc's sys/ucontext.h.
|
|
#if CPU(X86)
|