summaryrefslogtreecommitdiffstats
path: root/asmrun/fail.c
diff options
context:
space:
mode:
Diffstat (limited to 'asmrun/fail.c')
-rw-r--r--asmrun/fail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/asmrun/fail.c b/asmrun/fail.c
index 8b014fbc3..b796ecf68 100644
--- a/asmrun/fail.c
+++ b/asmrun/fail.c
@@ -46,8 +46,10 @@ void mlraise(v)
sigemptyset(&mask);
sigprocmask(SIG_SETMASK, &mask, NULL);
#else
+#ifdef HAS_SIGSETMASK
sigsetmask(0);
#endif
+#endif
leave_blocking_section();
#ifndef Stack_grows_upwards
while (local_roots != NULL &&