summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-07-20 17:40:54 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-07-20 12:28:16 +0000
commit8aad04aa6a2ab20a526b53089f8919d46434ca7e (patch)
tree36435f7f090483f1ec572dafd88f2ddd20080c37 /perl.h
parenta3526348f2163e87ba8192a892f448a36aeaa1ed (diff)
downloadperl-8aad04aa6a2ab20a526b53089f8919d46434ca7e.tar.gz
support POSIX SA_SIGINFO
Message-ID: <42DE3846.6050606@gmail.com> p4raw-id: //depot/perl@25200
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 9560689723..63eba706a1 100644
--- a/perl.h
+++ b/perl.h
@@ -2404,7 +2404,7 @@ typedef struct clone_params CLONE_PARAMS;
# define PERL_FPU_INIT fpsetmask(0);
# else
# if defined(SIGFPE) && defined(SIG_IGN) && !defined(PERL_MICRO)
-# define PERL_FPU_INIT PL_sigfpe_saved = signal(SIGFPE, SIG_IGN);
+# define PERL_FPU_INIT PL_sigfpe_saved = (Sighandler_t) signal(SIGFPE, SIG_IGN);
# define PERL_FPU_PRE_EXEC { Sigsave_t xfpe; rsignal_save(SIGFPE, PL_sigfpe_saved, &xfpe);
# define PERL_FPU_POST_EXEC rsignal_restore(SIGFPE, &xfpe); }
# else