summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-12-08 11:12:25 +0100
committerNicholas Clark <nick@ccl4.org>2011-12-09 17:09:51 +0100
commitc2e403ce41fd22d76714cfcbbe2be776a5c37c01 (patch)
tree28af05d56666498674e084a7c3b0331757e28a00 /malloc.c
parentf9293c5b9a0045314decf8aaed8943100c69b76e (diff)
downloadperl-c2e403ce41fd22d76714cfcbbe2be776a5c37c01.tar.gz
Remove commented-out "support" for perl's malloc with x2p.
In 1998 commit 30e2e4257067d5f8 stated temporarily disable perl malloc for a2p until we clean up conflicting malloc() declarations everywhere and nothing has changed since. 13 years later, no-one has reported problems, so it's safe to remove it.
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/malloc.c b/malloc.c
index 64613ee05d..60007b5a77 100644
--- a/malloc.c
+++ b/malloc.c
@@ -328,10 +328,7 @@
# define PERL_MAYBE_ALIVE 1
# endif
#else
-# ifdef PERL_FOR_X2P
-# include "../EXTERN.h"
-# include "../perl.h"
-# else
+
# include <stdlib.h>
# include <stdio.h>
# include <memory.h>
@@ -384,7 +381,7 @@
# ifndef MEM_ALIGNBYTES
# define MEM_ALIGNBYTES 4
# endif
-# endif
+
# ifndef croak /* make depend */
# define croak(mess, arg) (warn((mess), (arg)), exit(1))
# endif