aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/portability.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/portability.c b/lib/portability.c
index 294141c6..b6950e0a 100644
--- a/lib/portability.c
+++ b/lib/portability.c
@@ -430,9 +430,9 @@ static const struct signame signames[] = {
// Non-POSIX signals that cause termination
SIGNIFY(PROF), SIGNIFY(IO),
#ifdef __linux__
-# if !defined(__GLIBC__) && !defined(__mips__)
- SIGNIFY(STKFLT),
-# endif
+#ifdef SIGSTKFLT
+ SIGNIFY(STKFLT), // mips is broken, only target missing this
+#endif
SIGNIFY(POLL), SIGNIFY(PWR),
#elif defined(__APPLE__)
SIGNIFY(EMT), SIGNIFY(INFO),