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/strsignal.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/string/strsignal.c') diff --git a/libc/string/strsignal.c b/libc/string/strsignal.c index b99facc81..bb5ada716 100644 --- a/libc/string/strsignal.c +++ b/libc/string/strsignal.c @@ -58,10 +58,10 @@ static const unsigned char sstridx[] = { SIGPIPE, SIGALRM, SIGTERM, -#if defined(__alpha__) || defined(__mips__) || defined(__sparc__) - 0, -#else +#if defined SIGSTKFLT SIGSTKFLT, +#else + 0, #endif SIGCHLD, SIGCONT, @@ -78,7 +78,7 @@ static const unsigned char sstridx[] = { SIGIO, SIGPWR, SIGSYS, -#if defined(__alpha__) || defined(__mips__) || defined(__hppa__) || defined(__sparc__) +#if defined SIGEMT SIGEMT, #endif }; -- cgit v1.2.3