summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2022-06-15 14:10:12 +1000
committerTony Cook <tony@develop-help.com>2022-06-16 09:53:46 +1000
commitbc726283c505c016567b3156526f1aeecc777244 (patch)
tree34aa96ac561632fe0198ae1f5c7301f5fb4f8ad8 /makedef.pl
parent5af5b232a2dc0e42e74fa716f7cf429ba9e386ac (diff)
downloadperl-bc726283c505c016567b3156526f1aeecc777244.tar.gz
allow building with -DPERL_MEM_LOG on Win32
This appears to have been broken for a while, and became more broken with 75acd14e, which made newSV_type() inline. This will also prevent warnings about calls to undeclared functions on systems that don't need symbols to be exported.
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl9
1 files changed, 8 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index ef77b83ce1..b1663b31e3 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -485,7 +485,14 @@ unless ($define{'PERL_TRACK_MEMPOOL'}) {
}
unless ($define{'PERL_MEM_LOG'}) {
- ++$skip{PL_mem_log};
+ ++$skip{$_} foreach qw(
+ PL_mem_log
+ Perl_mem_log_alloc
+ Perl_mem_log_realloc
+ Perl_mem_log_free
+ Perl_mem_log_new_sv
+ Perl_mem_log_del_sv
+ );
}
unless ($define{'MULTIPLICITY'}) {