summaryrefslogtreecommitdiffstats
path: root/main/gc/getcontext.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gc/getcontext.patch')
-rw-r--r--main/gc/getcontext.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gc/getcontext.patch b/main/gc/getcontext.patch
new file mode 100644
index 000000000..df3e45a05
--- /dev/null
+++ b/main/gc/getcontext.patch
@@ -0,0 +1,10 @@
+--- ./include/private/gcconfig.h.orig
++++ ./include/private/gcconfig.h
+@@ -2483,6 +2483,7 @@
+ #if ((defined(UNIX_LIKE) && (defined(DARWIN) || defined(HURD) \
+ || defined(OPENBSD) || defined(ARM32) \
+ || defined(MIPS) || defined(AVR32))) \
++ || defined(__UCLIBC__) \
+ || (defined(LINUX) && (defined(SPARC) || defined(M68K))) \
+ || (defined(RTEMS) && defined(I386))) && !defined(NO_GETCONTEXT)
+ # define NO_GETCONTEXT