summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-18 21:03:06 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-18 21:03:06 +0000
commit08cdc9a35d157219f769511762b78adf22ca040a (patch)
tree2df6b5361ba5729907d7f2c948100163221fa62e /ext
parent90758174239a95c621502dd02117d0858a5cf50b (diff)
downloadperl-08cdc9a35d157219f769511762b78adf22ca040a.tar.gz
missing PERL_POLLUTE_MALLOC
p4raw-id: //depot/perl@2974
Diffstat (limited to 'ext')
-rw-r--r--ext/SDBM_File/sdbm/sdbm.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/SDBM_File/sdbm/sdbm.h b/ext/SDBM_File/sdbm/sdbm.h
index 4921de7f8d..4dc1a22483 100644
--- a/ext/SDBM_File/sdbm/sdbm.h
+++ b/ext/SDBM_File/sdbm/sdbm.h
@@ -168,8 +168,7 @@ extern long sdbm_hash proto((char *, int));
/* This comes after <stdlib.h> so we don't try to change the standard
* library prototypes; we'll use our own instead. */
-#if defined(MYMALLOC)
-
+#if defined(MYMALLOC) && !defined(PERL_POLLUTE_MALLOC)
# define malloc Perl_malloc
# define calloc Perl_calloc
# define realloc Perl_realloc
@@ -179,7 +178,6 @@ Malloc_t Perl_malloc proto((MEM_SIZE nbytes));
Malloc_t Perl_calloc proto((MEM_SIZE elements, MEM_SIZE size));
Malloc_t Perl_realloc proto((Malloc_t where, MEM_SIZE nbytes));
Free_t Perl_mfree proto((Malloc_t where));
-
#endif /* MYMALLOC */
#ifdef I_STRING