summaryrefslogtreecommitdiff
path: root/iperlsys.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 /iperlsys.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 'iperlsys.h')
-rw-r--r--iperlsys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/iperlsys.h b/iperlsys.h
index f84852de16..8380c5ba77 100644
--- a/iperlsys.h
+++ b/iperlsys.h
@@ -51,7 +51,11 @@
#include "perlio.h"
#ifndef Sighandler_t
+# if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
+typedef Signal_t (*Sighandler_t) (int, ...);
+# else
typedef Signal_t (*Sighandler_t) (int);
+# endif
#endif
#if defined(PERL_IMPLICIT_SYS)