Blame src/api/setjmp.c

nsz 056b01
#include <setjmp.h>
nsz 056b01
#define T(t) (t*)0;
nsz 056b01
static void f()
nsz 056b01
{
nsz 056b01
T(jmp_buf)
nsz 0ef264
{void(*p)(jmp_buf,int) = longjmp;}
nsz 0ef264
{int(*p)(jmp_buf) = setjmp;}
nsz 056b01
#ifdef _POSIX_C_SOURCE
nsz 056b01
T(sigjmp_buf)
nsz 0ef264
{void(*p)(sigjmp_buf,int) = siglongjmp;}
nsz 0ef264
{int(*p)(sigjmp_buf,int) = sigsetjmp;}
nsz 056b01
#endif
nsz 056b01
}