From 5818b7d9827952892087fb646ec7c71dfcb5f137 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 21 May 2020 20:41:21 -0500 Subject: Check the signal rather than special case a library and a target. --- lib/portability.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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), -- cgit v1.2.3