summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2016-02-28 22:44:18 -0500
committerTony Cook <tony@develop-help.com>2016-03-01 11:08:34 +1100
commit00d484c1d87e30631537859338714ac41ec2d216 (patch)
tree85da5e880b8afe994ecc23916043f1a12fe0e6f0 /makedef.pl
parenta746ef5c8454a216f205bf9604fdbb6ad3c7c855 (diff)
downloadperl-00d484c1d87e30631537859338714ac41ec2d216.tar.gz
teach makedef.pl an alternate macro for PERL_COPY_ON_WRITE
otherwise a -DPERL_NO_COW perl win32 build fails during linking perl523.dll with missing Perl_sv_setsv_cow
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index 90c9368331..fd3bf62ffe 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -285,7 +285,7 @@ else {
);
}
-unless ($define{'PERL_COPY_ON_WRITE'}) {
+if (!$define{'PERL_COPY_ON_WRITE'} || $define{'PERL_NO_COW'}) {
++$skip{Perl_sv_setsv_cow};
}