Commit | Line | Data |
---|---|---|
caf5d079 | 1 | /* setjmp.h 4.2 89/10/16 */ |
21e51ba9 | 2 | |
caf5d079 KM |
3 | #ifndef _SETJMP_ |
4 | #define _SETJMP_ | |
5 | ||
6 | #ifdef vax | |
7 | #define _JBLEN 10 | |
8 | #endif | |
9 | ||
10 | #ifdef tahoe | |
11 | #define _JBLEN 10 | |
12 | #endif | |
13 | ||
14 | #ifdef hp300 | |
15 | #define _JBLEN 17 | |
16 | #endif | |
17 | ||
18 | typedef int jmp_buf[_JBLEN]; | |
19 | ||
20 | #ifdef __STDC__ | |
21 | extern int setjmp(jmp_buf), _setjmp(jmp_buf); | |
22 | extern void longjmp(jmp_buf, int), _longjmp(jmp_buf, int); | |
23 | #else /* !__STDC__ */ | |
24 | extern int setjmp(), _setjmp(); | |
25 | extern int longjmp(), _longjmp(); | |
26 | #endif /* !__STDC__ */ | |
27 | ||
28 | #endif |