NSIG is not always defined
This commit is contained in:
parent
825941de76
commit
0c8514a9ed
|
@ -23,6 +23,9 @@
|
||||||
|
|
||||||
#define UNIX_trap(sn) (SIGILL <= sn && sn <= SIGSYS)
|
#define UNIX_trap(sn) (SIGILL <= sn && sn <= SIGSYS)
|
||||||
|
|
||||||
|
#ifndef NSIG
|
||||||
|
#define NSIG _NSIG
|
||||||
|
#endif
|
||||||
PRIVATE int sig_map[NSIG+1]; /* maps signals onto trap numbers */
|
PRIVATE int sig_map[NSIG+1]; /* maps signals onto trap numbers */
|
||||||
|
|
||||||
PRIVATE int HndlIntSig(); /* handle signal to interpreter */
|
PRIVATE int HndlIntSig(); /* handle signal to interpreter */
|
||||||
|
|
Loading…
Reference in a new issue