NSIG is not always defined

This commit is contained in:
ceriel 1991-10-22 09:07:31 +00:00
parent 825941de76
commit 0c8514a9ed

View file

@ -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 */