summaryrefslogtreecommitdiff
path: root/iperlsys.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-08 13:23:16 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-08 13:23:16 +0000
commitf25172013443eb112285f24a09b83900edb8a738 (patch)
tree678f9789da4edbccaa4836270985332e36f7f449 /iperlsys.h
parent651b9576cc8d7812bbcba060854ec8a56f698aae (diff)
downloadperl-f25172013443eb112285f24a09b83900edb8a738.tar.gz
make safesysmalloc() etc., always available; safemalloc() et al are
now macros that point to the right malloc; fix various places in sources that need to always use safesysmalloc() et al p4raw-id: //depot/perl@2834
Diffstat (limited to 'iperlsys.h')
-rw-r--r--iperlsys.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/iperlsys.h b/iperlsys.h
index 97f30e33b4..cfdc39f9de 100644
--- a/iperlsys.h
+++ b/iperlsys.h
@@ -610,15 +610,9 @@ public:
#else /* PERL_OBJECT */
-#ifdef MYMALLOC
-#define PerlMem_malloc(size) Perl_malloc((size))
-#define PerlMem_realloc(buf, size) Perl_realloc((buf), (size))
-#define PerlMem_free(buf) Perl_mfree((buf))
-#else
#define PerlMem_malloc(size) malloc((size))
#define PerlMem_realloc(buf, size) realloc((buf), (size))
#define PerlMem_free(buf) free((buf))
-#endif
#endif /* PERL_OBJECT */