1/* : : generated from /home/gisburn/ksh93/ast_ksh_20070418/build_i386_64bit/src/cmd/ksh93/features/sigfeatures by iffe version 2007-04-04 : : */
2#ifndef _def_sigfeatures_ksh93
3#define _def_sigfeatures_ksh93	1
4#define _sys_types	1	/* #include <sys/types.h> ok */
5#define _LIB_dll	1	/* /home/gisburn/ksh93/ast_ksh_20070418/build_i386_64bit/arch/sol11.i386/lib/libdll.a is a library */
6#define _LIB_ast	1	/* /home/gisburn/ksh93/ast_ksh_20070418/build_i386_64bit/arch/sol11.i386/lib/libast.a is a library */
7#define _LIB_m	1	/* -lm is a library */
8#define _LIB_cmd	1	/* /home/gisburn/ksh93/ast_ksh_20070418/build_i386_64bit/arch/sol11.i386/lib/libcmd.a is a library */
9#define _LIB_nsl	1	/* -lnsl is a library */
10#define _lib_sigrelse	1	/* sigrelse() in default lib(s) */
11#define _lib_sigprocmask	1	/* sigprocmask() in default lib(s) */
12#define _hdr_time	1	/* #include <time.h> ok */
13#define _sys_time	1	/* #include <sys/time.h> ok */
14#define _sys_times	1	/* #include <sys/times.h> ok */
15#define _hdr_stddef	1	/* #include <stddef.h> ok */
16#define _hdr_stdlib	1	/* #include <stdlib.h> ok */
17#define _hdr_ast	1	/* #include <ast.h> ok */
18#define _hdr_signal	1	/* #include <signal.h> ok */
19#define _typ_sigset_t	1	/* sigset_t is a type */
20#ifndef _mem_sigvec_sv_mask
21#   undef _lib_sigvec
22#endif
23#ifdef _lib_sigprocmask
24#    define sh_sigaction(s,action) do { sigset_t ss;\
25			sigemptyset(&ss);\
26			sigaddset(&ss,(s));\
27			sigprocmask(action,&ss,0); \
28			}while(0)
29#    define sigrelease(s)	sh_sigaction(s,SIG_UNBLOCK)
30#    define sigblock(s)	 	sh_sigaction(s,SIG_BLOCK)
31#    define sig_begin()		sh_sigaction(0,SIG_SETMASK)
32#else
33#   ifndef _lib_sigblock
34#	define sigblock(s)
35#   endif
36#   ifdef _lib_sigsetmask
37#       define sigrelease(s)  sigsetmask(0)
38#       define sig_begin()    sigsetmask(0)
39#   else
40#	ifdef _lib_sigrelse
41#	    define sigrelease	sigrelse
42#	    define sig_begin()
43#	else
44#	    define sig_begin()		(0)
45#	    define sigrelease(s)	(0)
46#	endif /* _lib_sigrelse */
47#    endif /* _lib_sigsetmask */
48#endif /* _lib_sigprocmask */
49
50#undef	_SIGRTMIN
51#define _SIGRTMIN	41
52#undef	_SIGRTMAX
53#define _SIGRTMAX	48
54#endif
55