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