Mercurial > hg > xemacs-beta
comparison src/syssignal.h @ 978:13e47461d509
[xemacs-hg @ 2002-08-29 19:45:20 by james]
Include syssignal.h instead of signal.h. Move NSIG setting code for SVR4
to syssignal.h.
author | james |
---|---|
date | Thu, 29 Aug 2002 19:45:34 +0000 |
parents | 79c6ff3eef26 |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
977:b6b74d181b7f | 978:13e47461d509 |
---|---|
249 #else | 249 #else |
250 #define EMACS_KILLPG(pid, signo) kill (-(pid), signo) | 250 #define EMACS_KILLPG(pid, signo) kill (-(pid), signo) |
251 #endif | 251 #endif |
252 | 252 |
253 #ifndef NSIG | 253 #ifndef NSIG |
254 # define NSIG (SIGUSR2+1) /* guess how many elements are in sys_siglist... */ | 254 # ifdef USG5_4 |
255 /* Some SVr4s don't define NSIG in sys/signal.h for ANSI environments; | |
256 * instead, there's a system variable _sys_nsig. Unfortunately, we need the | |
257 * constant to dimension an array. So wire in the appropriate value here. | |
258 */ | |
259 # define NSIG 32 | |
260 # else | |
261 # define NSIG (SIGUSR2+1) /* guess how many elements are in sys_siglist... */ | |
262 # endif | |
255 #endif | 263 #endif |
256 | 264 |
257 /* SYS_SIGLIST_DECLARED is determined by configure. On Linux, it seems, | 265 /* SYS_SIGLIST_DECLARED is determined by configure. On Linux, it seems, |
258 configure incorrectly fails to find it, so s/linux.h defines | 266 configure incorrectly fails to find it, so s/linux.h defines |
259 HAVE_SYS_SIGLIST. */ | 267 HAVE_SYS_SIGLIST. */ |