8 #include <bits/setjmp.h>
11 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
12 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
13 typedef unsigned long sigjmp_buf[(128+sizeof(jmp_buf))/sizeof(long)];
15 #define jmp_buf sigjmp_buf
17 int sigsetjmp (sigjmp_buf, int);
18 void siglongjmp (sigjmp_buf, int);
22 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
23 int _setjmp (jmp_buf);
24 void _longjmp (jmp_buf, int);
29 void longjmp (jmp_buf, int);
32 #define longjmp longjmp