diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-05 00:52:57 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-05 00:52:57 +0000 |
commit | cae6d0e5ad55f3d6c7902bf7cfc560481e827bb3 (patch) | |
tree | 215b3828567ca9dacc002b6bd8677ce13150a6db /makedef.pl | |
parent | 50dd6e574ff39b609595ddb16b2fe9f625a26f8c (diff) | |
download | perl-cae6d0e5ad55f3d6c7902bf7cfc560481e827bb3.tar.gz |
fix the binary compatibility issue when building with/without
usemymalloc by exporting Perl_malloc() et al as simple wrappers
around the system functions (this allows most extensions built
using one mode to coexist with perls built in the other mode)
XXX the Perl_mfree() wrapper might need to do return(free()) on
platforms where Free_t isn't "void"
p4raw-id: //depot/perl@11152
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/makedef.pl b/makedef.pl index 9c8a65e572..12eab67d02 100644 --- a/makedef.pl +++ b/makedef.pl @@ -473,10 +473,6 @@ if ($define{'MYMALLOC'}) { emit_symbols [qw( Perl_dump_mstats Perl_get_mstats - Perl_malloc - Perl_mfree - Perl_realloc - Perl_calloc Perl_strdup Perl_putenv )]; @@ -496,10 +492,6 @@ else { PL_malloc_mutex Perl_dump_mstats Perl_get_mstats - Perl_malloc - Perl_mfree - Perl_realloc - Perl_calloc Perl_malloced_size )]; } |