diff options
Diffstat (limited to 'libgcompat/setjmp.c')
-rw-r--r-- | libgcompat/setjmp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgcompat/setjmp.c b/libgcompat/setjmp.c new file mode 100644 index 0000000..306868f --- /dev/null +++ b/libgcompat/setjmp.c @@ -0,0 +1,7 @@ +#include <assert.h> +#include <setjmp.h> + +void __longjmp_chk(jmp_buf env, int val) +{ + longjmp(env, val); +} |