diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-07 23:35:27 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-07 23:35:27 +0000 |
commit | 7014c40783484eed55bf735c99b9ec618f0b36dd (patch) | |
tree | 8122c4552292305a54f3be3887fbac49ba651db6 /perl.h | |
parent | 5a7beb56c5db2ec34282658c69d8ac3da98cdd0e (diff) | |
download | perl-7014c40783484eed55bf735c99b9ec618f0b36dd.tar.gz |
Ignore SIGFPE everywhere.
p4raw-id: //depot/perl@11608
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1754,10 +1754,12 @@ typedef struct ptr_tbl PTR_TBL_t; # include <floatingpoint.h> # 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 |