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 /embed.h | |
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 'embed.h')
-rw-r--r-- | embed.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3084,11 +3084,11 @@ # if defined(PERL_IMPLICIT_SYS) # endif #endif -#if defined(MYMALLOC) #define malloc Perl_malloc #define calloc Perl_calloc #define realloc Perl_realloc #define mfree Perl_mfree +#if defined(MYMALLOC) #define malloced_size Perl_malloced_size #endif #define get_context Perl_get_context |