summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-07-20 13:59:18 +0000
committerSteve Hay <SteveHay@planit.com>2005-07-20 13:59:18 +0000
commit1e82f5a677c5abc27ea5ffb3546e5db6b8a56b93 (patch)
tree06315e02fc49b92353ad716ad49b62b38faded99 /mg.c
parent60ab248366d97654f04e23337bad7da01c5df1e6 (diff)
downloadperl-1e82f5a677c5abc27ea5ffb3546e5db6b8a56b93.tar.gz
Fix definition of Perl_sighandler following change 25200
p4raw-id: //depot/perl@25203
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mg.c b/mg.c
index f4f8f60f4f..e9faf1b51a 100644
--- a/mg.c
+++ b/mg.c
@@ -2621,7 +2621,11 @@ Perl_whichsig(pTHX_ const char *sig)
}
Signal_t
+#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
Perl_sighandler(int sig, ...)
+#else
+Perl_sighandler(int sig)
+#endif
{
#ifdef PERL_GET_SIG_CONTEXT
dTHXa(PERL_GET_SIG_CONTEXT);