8 #include <bits/setjmp.h>
11 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
12 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
13 || defined(_BSD_SOURCE)
14 typedef unsigned long sigjmp_buf[(128+sizeof(jmp_buf))/sizeof(long)];
16 #define jmp_buf sigjmp_buf
18 int sigsetjmp (sigjmp_buf, int);
19 void siglongjmp (sigjmp_buf, int);
23 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
24 || defined(_BSD_SOURCE)
25 int _setjmp (jmp_buf);
26 void _longjmp (jmp_buf, int);
31 void longjmp (jmp_buf, int);
34 #define longjmp longjmp