summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed.pl b/embed.pl
index ec134989d9..09035e8c6b 100755
--- a/embed.pl
+++ b/embed.pl
@@ -308,7 +308,9 @@ print EM <<'END';
# define Perl_set_numeric_local perl_set_numeric_local
# define Perl_set_numeric_standard perl_set_numeric_standard
# define PERL_POLLUTE
-# define PERL_POLLUTE_MALLOC
+# ifndef EMBEDMYMALLOC
+# define PERL_POLLUTE_MALLOC
+# endif
#endif
/* Hide global symbols */