summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorLeon Timmermans <fawaka@gmail.com>2011-01-13 18:30:59 +0100
committerFather Chrysostomos <sprout@cpan.org>2011-01-17 22:31:26 -0800
commitf5a55acdcac97456fa66e83ac3d005677b14cc00 (patch)
treedc726b0bff3ccf27d8ca0d0bf06e186cc61424a7 /perl.h
parent555344425f04e96a72e4d29eab96b34bff8f96ae (diff)
downloadperl-f5a55acdcac97456fa66e83ac3d005677b14cc00.tar.gz
Remove obsolete macros
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/perl.h b/perl.h
index 9ad2172b1d..7e1ec91a53 100644
--- a/perl.h
+++ b/perl.h
@@ -6089,36 +6089,6 @@ extern void moncontrol(int);
#define PERL_SIGNALS_UNSAFE_FLAG 0x0001
-/* From sigaction(2) (FreeBSD man page):
- * | Signal routines normally execute with the signal that
- * | caused their invocation blocked, but other signals may
- * | yet occur.
- * Emulation of this behavior (from within Perl) is enabled
- * by defining PERL_BLOCK_SIGNALS.
- */
-#define PERL_BLOCK_SIGNALS
-
-#if defined(HAS_SIGPROCMASK) && defined(PERL_BLOCK_SIGNALS)
-# define PERL_BLOCKSIG_ADD(set,sig) \
- sigset_t set; sigemptyset(&(set)); sigaddset(&(set), sig)
-# define PERL_BLOCKSIG_BLOCK(set) \
- sigprocmask(SIG_BLOCK, &(set), NULL)
-# define PERL_BLOCKSIG_UNBLOCK(set) \
- sigprocmask(SIG_UNBLOCK, &(set), NULL)
-#endif /* HAS_SIGPROCMASK && PERL_BLOCK_SIGNALS */
-
-/* How about the old style of sigblock()? */
-
-#ifndef PERL_BLOCKSIG_ADD
-# define PERL_BLOCKSIG_ADD(set, sig) NOOP
-#endif
-#ifndef PERL_BLOCKSIG_BLOCK
-# define PERL_BLOCKSIG_BLOCK(set) NOOP
-#endif
-#ifndef PERL_BLOCKSIG_UNBLOCK
-# define PERL_BLOCKSIG_UNBLOCK(set) NOOP
-#endif
-
/* Use instead of abs() since abs() forces its argument to be an int,
* but also beware since this evaluates its argument twice, so no x++. */
#define PERL_ABS(x) ((x) < 0 ? -(x) : (x))