summaryrefslogtreecommitdiff
path: root/lib/sig2str.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-29 06:59:24 +0000
committerJim Meyering <jim@meyering.net>2002-04-29 06:59:24 +0000
commit66c733ad3f810cd0cb4e72f0484155fe48513d09 (patch)
tree69793b302cf87bdc372a13bad83325f4a801160a /lib/sig2str.h
parent8bc0793400e36f9e915467e3aaca8dede348487b (diff)
downloadgnulib-66c733ad3f810cd0cb4e72f0484155fe48513d09.tar.gz
(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.
Diffstat (limited to 'lib/sig2str.h')
-rw-r--r--lib/sig2str.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sig2str.h b/lib/sig2str.h
index 3a46a8ce85..4fbd21ce25 100644
--- a/lib/sig2str.h
+++ b/lib/sig2str.h
@@ -42,8 +42,6 @@ int str2sig (char const *, int *);
# 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