summaryrefslogtreecommitdiff
path: root/newlib/patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch')
-rw-r--r--newlib/patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/newlib/patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch b/newlib/patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch
new file mode 100644
index 0000000..ab34594
--- /dev/null
+++ b/newlib/patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch
@@ -0,0 +1,17 @@
+#! /bin/sh
+patch -p1 -f $* < $0
+exit $?
+
+Enable sigjmp_buf.
+
+--- newlib/newlib/libc/include/machine/setjmp.h~ 2007-11-07 22:42:24.000000000 +0100
++++ newlib/newlib/libc/include/machine/setjmp.h 2008-02-20 23:46:12.000000000 +0100
+@@ -251,7 +251,7 @@
+
+ _END_STD_C
+
+-#if defined(__CYGWIN__) || defined(__rtems__)
++#if 1 || defined(__CYGWIN__) || defined(__rtems__)
+ #include <signal.h>
+
+ #ifdef __cplusplus