This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
allow POSIX SIGRTMIN...SIGRTMAX signals (and plug a core dump)
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 19 Jul 2005 12:06:00 +0000 (15:06 +0300)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 19 Jul 2005 10:43:14 +0000 (10:43 +0000)
Message-ID: <42DCC278.2010009@gmail.com>

p4raw-id: //depot/metaconfig@25183

U/modified/Signal.U

index d12b9e6..4d442e6 100644 (file)
@@ -115,6 +115,12 @@ int main() {
 #endif
 
 #ifndef NSIG
 #endif
 
 #ifndef NSIG
+#  ifdef _SIG_MAX
+#    define NSIG (_SIG_MAX+1)
+#  endif
+#endif
+
+#ifndef NSIG
 #  ifdef MAXSIG
 #    define NSIG (MAXSIG+1)
 #  endif
 #  ifdef MAXSIG
 #    define NSIG (MAXSIG+1)
 #  endif