nixpkgs/pkgs/development/compilers/graalvm/002_setjmp.c.patch

17 lines
615 B
Diff
Raw Normal View History

2019-04-14 20:36:23 +00:00
diff --git a/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c b/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c
index 16b869354d8..3691739d13b 100644
--- a/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c
+++ b/sulong/projects/com.oracle.truffle.llvm.libraries.bitcode/src/setjmp.c
@@ -41,11 +41,3 @@ int sigsetjmp(sigjmp_buf env, int savesigs) {
WARN_UNSUPPORTED(sigsetjmp);
return 0;
}
-
-void longjmp(jmp_buf env, int val) {
- ERR_UNSUPPORTED(longjmp);
-}
-
-void siglongjmp(sigjmp_buf env, int val) {
- ERR_UNSUPPORTED(siglongjmp);
-}