apio
d00ca0d3ed
All checks were successful
continuous-integration/drone/push Build is passing
Partially taken from pre-rewrite Luna, converted setjmp.asm to GNU assembly.
15 lines
211 B
C++
15 lines
211 B
C++
#include <setjmp.h>
|
|
|
|
extern "C"
|
|
{
|
|
int sigsetjmp(sigjmp_buf env, int)
|
|
{
|
|
return setjmp(env);
|
|
}
|
|
|
|
__noreturn void siglongjmp(sigjmp_buf env, int val)
|
|
{
|
|
longjmp(env, val);
|
|
}
|
|
}
|