diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-06 03:54:23 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-09-06 03:54:23 +0000 |
commit | 37bd1396ea9d91e675e031705a61835c0083b20a (patch) | |
tree | dfb571b1d1e7cdac6331b83c6a3cdef9523ce920 /embed.h | |
parent | eb6e2d6f1e269264d7937d1be23cbbe0b6820902 (diff) | |
download | perl-37bd1396ea9d91e675e031705a61835c0083b20a.tar.gz |
applied patch suggested by Hans Mulder to fix problems on
OPENSTEP-Mach; be more careful about PERL_POLLUTE_MALLOC
when they ask for bincompat (platforms that used to default
to EMBEDMYMALLOC continue to do so); disable warnings.t#192
(appears unsalvageable on some platforms)
p4raw-id: //depot/perl@4085
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -30,8 +30,14 @@ # define Perl_set_numeric_local perl_set_numeric_local # define Perl_set_numeric_standard perl_set_numeric_standard # define PERL_POLLUTE -# ifndef EMBEDMYMALLOC -# define PERL_POLLUTE_MALLOC +/* malloc() pollution was the default in earlier versions, so enable + * it for bincompat; but not for systems that used to do prevent that, + * or when they ask for {HIDE,EMBED}MYMALLOC */ +# if !defined(EMBEDMYMALLOC) && !defined(HIDEMYMALLOC) +# if !defined(NeXT) && !defined(__NeXT) && !defined(__MACHTEN__) && \ + !defined(__QNX__) +# define PERL_POLLUTE_MALLOC +# endif # endif #endif |