summaryrefslogtreecommitdiff
path: root/libc/string/strsignal.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-18 12:16:01 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-18 12:16:01 +0000
commit8deadda0884724ab5f7f2cdf6c6f00d1be4ee7db (patch)
tree7b914317f37c411be29d1e42f96cc4b21ea3d616 /libc/string/strsignal.c
parent6d8560297be954e2ff73c9545300ae1b477b7433 (diff)
check for signal existence rather than using arch defines
Diffstat (limited to 'libc/string/strsignal.c')
-rw-r--r--libc/string/strsignal.c8
1 files changed, 4 insertions, 4 deletions
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
};