changeset 3831:68803dccd533

(SIGNUM_BOUND): Do not use WTERMSIG, to avoid depending on <sys/wait.h> and WTERMSIG. Default to 64 instead of 127, since 64 is the largest conceivable number for ancient nonstandard hosts.
author Jim Meyering <jim@meyering.net>
date Mon, 29 Apr 2002 06:59:24 +0000
parents 55d776be7c7c
children 5186621246b3
files lib/sig2str.h
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/sig2str.h
+++ b/lib/sig2str.h
@@ -42,8 +42,6 @@
 # define SIGNUM_BOUND (_sys_nsig - 1)
 #elif defined NSIG
 # define SIGNUM_BOUND (NSIG - 1)
-#elif defined WTERMSIG
-# define SIGNUM_BOUND WTERMSIG (~ 0)
 #else
-# define SIGNUM_BOUND 127
+# define SIGNUM_BOUND 64
 #endif