summaryrefslogtreecommitdiff
path: root/unixish.h
diff options
context:
space:
mode:
Diffstat (limited to 'unixish.h')
-rw-r--r--unixish.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/unixish.h b/unixish.h
index f6923b7f66..a7e9a08f74 100644
--- a/unixish.h
+++ b/unixish.h
@@ -129,7 +129,11 @@
# ifdef POSIX_BC
# define PERL_SYS_INIT(c,v) sigignore(SIGFPE); MALLOC_INIT
# else
-# define PERL_SYS_INIT(c,v) MALLOC_INIT
+# ifdef UTS
+# define PERL_SYS_INIT(c,v) signal(SIGFPE, SIG_IGN); MALLOC_INIT
+# else
+# define PERL_SYS_INIT(c,v) MALLOC_INIT
+# endif
# endif
#endif
#endif