From 7014c40783484eed55bf735c99b9ec618f0b36dd Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 7 Aug 2001 23:35:27 +0000 Subject: Ignore SIGFPE everywhere. p4raw-id: //depot/perl@11608 --- perl.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'perl.h') diff --git a/perl.h b/perl.h index b85b88fb71..82694489bc 100644 --- a/perl.h +++ b/perl.h @@ -1754,10 +1754,12 @@ typedef struct ptr_tbl PTR_TBL_t; # include # endif # define PERL_FPU_INIT fpsetmask(0); -# elif PERL_IGNORE_FPUSIG -# define PERL_FPU_INIT signal(PERL_IGNORE_FPUSIG, SIG_IGN); # else -# define PERL_FPU_INIT +# if defined(SIGFPE) && defined(SIG_IGN) +# define PERL_FPU_INIT signal(SIGFPE, SIG_IGN); +# else +# define PERL_FPU_INIT +# endif # endif #endif -- cgit v1.2.1