Otherwise building on VMS with -Dusemymalloc=y fails because we
enter them as procedures in the linker options file and the linker
knows we're lying and will have none of it.
# makedef.pl loses distinction between vars and funcs, so
# use the start of the name to guess and add specific
# exceptions when we know about them.
- if ($line =~ m/^PL_/
+ if ($line =~ m/^(PL_|MallocCfg)/
|| $line eq 'PerlIO_perlio'
|| $line eq 'PerlIO_pending') {
$vars{$line}++;