summaryrefslogtreecommitdiffstats
path: root/main/gc/uclibc-getcontext.patch
blob: de48fc0183f5f9f9db6d67a540f6be6e3d1df293 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./mach_dep.c.orig
+++ ./mach_dep.c
@@ -175,7 +175,7 @@
 #   if defined(HAVE_PUSH_REGS)
       GC_push_regs();
 #   elif defined(UNIX_LIKE) && !defined(DARWIN) && !defined(ARM32) && \
-	 !defined(HURD)
+	 !defined(HURD) && !defined(__UCLIBC__)
       /* Older versions of Darwin seem to lack getcontext(). */
       /* ARM Linux often doesn't support a real getcontext(). */
       ucontext_t ctxt;