From bac8d80ffbb6efcafe8cb21b131d8216fc1649dc Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Fri, 1 May 2015 09:37:34 -0400 Subject: [PATCH] add _setjmp, _longjmp definitions to the header file. functions are present in lib/libc/gen/setjmp.asm --- include/setjmp.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/setjmp.h b/include/setjmp.h index 7495a2e..4a14fcd 100644 --- a/include/setjmp.h +++ b/include/setjmp.h @@ -18,4 +18,9 @@ typedef int jmp_buf[6]; void longjmp(jmp_buf, int); int setjmp(jmp_buf); +#ifndef __KeepNamespacePure__ +void _longjmp(jmp_buf, int); +int _setjmp(jmp_buf); +#endif + #endif