xref: /illumos-gate/usr/src/cmd/ast/libshell/sparcv9/FEATURE/setjmp (revision 3cac7b0d73edf3f2674ad0f64d1fff3d2e59ae8c)
1/* : : generated from contrib/ast/src/cmd/ksh93/features/setjmp by iffe version 2012-07-17 : : */
2#ifndef _def_setjmp_ksh93
3#define _def_setjmp_ksh93	1
4#define _sys_types	1	/* #include <sys/types.h> ok */
5#define _lib_sigsetjmp	1	/* sigsetjmp() in default lib(s) */
6#define _lib__setjmp	1	/* _setjmp() in default lib(s) */
7#define _lib__longjmp	1	/* _longjmp() in default lib(s) */
8#define _hdr_time	1	/* #include <time.h> ok */
9#define _sys_time	1	/* #include <sys/time.h> ok */
10#define _sys_times	1	/* #include <sys/times.h> ok */
11#define _hdr_stddef	1	/* #include <stddef.h> ok */
12#define _hdr_stdlib	1	/* #include <stdlib.h> ok */
13#define _hdr_setjmp	1	/* #include <setjmp.h> ok */
14#define _typ_sigjmp_buf	1	/* sigjmp_buf is a type */
15#undef sigsetjmp
16#undef siglongjmp
17#undef sigjmp_buf
18#define sigjmp_buf		jmp_buf
19#ifdef	_lib__setjmp
20#   define sigsetjmp(a,b)	_setjmp(a)
21#else
22#   define sigsetjmp(a,b)	setjmp(a)
23#endif 	/* _lib__setjmp */
24#ifdef	_lib__longjmp
25#   define siglongjmp(a,b)	_longjmp(a,b)
26#else
27#   define siglongjmp(a,b)	longjmp(a,b)
28#endif 	/* _lib__longjmp */
29
30#endif
31