From 8deadda0884724ab5f7f2cdf6c6f00d1be4ee7db Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 18 Jan 2006 12:16:01 +0000 Subject: check for signal existence rather than using arch defines --- libc/string/sys_siglist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/string/sys_siglist.c') 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 }; -- cgit v1.2.3