summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/SDBM_File/sdbm/sdbm.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ext/SDBM_File/sdbm/sdbm.h b/ext/SDBM_File/sdbm/sdbm.h
index 4d6c844890..b8621478d6 100644
--- a/ext/SDBM_File/sdbm/sdbm.h
+++ b/ext/SDBM_File/sdbm/sdbm.h
@@ -110,13 +110,15 @@ extern long sdbm_hash proto((char *, int));
#ifdef MYMALLOC
# ifdef HIDEMYMALLOC
-# define malloc Mymalloc
-# define realloc Myremalloc
-# define free Myfree
+# define malloc Perl_malloc
+# define realloc Perl_realloc
+# define free Perl_free
+# define calloc Perl_calloc
# endif
# define safemalloc malloc
# define saferealloc realloc
# define safefree free
+# define safecalloc calloc
#endif
#if defined(__STDC__) || defined(_AIX) || defined(__stdc__) || defined(__cplusplus)