diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-12-08 11:12:25 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-12-09 17:09:51 +0100 |
commit | c2e403ce41fd22d76714cfcbbe2be776a5c37c01 (patch) | |
tree | 28af05d56666498674e084a7c3b0331757e28a00 /malloc.c | |
parent | f9293c5b9a0045314decf8aaed8943100c69b76e (diff) | |
download | perl-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.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |