diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-18 12:16:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-18 12:16:01 +0000 |
commit | 8deadda0884724ab5f7f2cdf6c6f00d1be4ee7db (patch) | |
tree | 7b914317f37c411be29d1e42f96cc4b21ea3d616 /libc/string/sys_siglist.c | |
parent | 6d8560297be954e2ff73c9545300ae1b477b7433 (diff) |
check for signal existence rather than using arch defines
Diffstat (limited to 'libc/string/sys_siglist.c')
-rw-r--r-- | libc/string/sys_siglist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/sys_siglist.c b/libc/string/sys_siglist.c index 0f69856ba..844337536 100644 --- a/libc/string/sys_siglist.c +++ b/libc/string/sys_siglist.c @@ -31,7 +31,7 @@ const char *const sys_siglist[_NSIG] = { [SIGPIPE] = _string_syssigmsgs + 178, [SIGALRM] = _string_syssigmsgs + 190, [SIGTERM] = _string_syssigmsgs + 202, -#if !(defined(__alpha__) || defined(__mips__) || defined(__sparc__)) +#if defined SIGSTKFLT /* not all arches define this, yeah ! */ [SIGSTKFLT] = _string_syssigmsgs + 213, #endif [SIGCHLD] = _string_syssigmsgs + 225, @@ -49,7 +49,7 @@ const char *const sys_siglist[_NSIG] = { [SIGIO] = _string_syssigmsgs + 445, [SIGPWR] = _string_syssigmsgs + 458, [SIGSYS] = _string_syssigmsgs + 472, -#if defined(__alpha__) || defined(__mips__) || defined(__hppa__) || defined(__sparc__) +#if defined SIGEMT /* only some arches define this, yeah ! */ [SIGEMT] = _string_syssigmsgs + 488, #endif }; |