summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmocka.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmocka.c b/src/cmocka.c
index 8a7c9e1..56ac54a 100644
--- a/src/cmocka.c
+++ b/src/cmocka.c
@@ -296,8 +296,12 @@ static const int exception_signals[] = {
SIGFPE,
SIGILL,
SIGSEGV,
+#ifdef SIGBUS
SIGBUS,
+#endif
+#ifdef SIGSYS
SIGSYS,
+#endif
};
/* Default signal functions that should be restored after a test is complete. */