Skip to content

Commit 00d484c

Browse files
Daniel Dragantonycoz
authored andcommitted
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
1 parent a746ef5 commit 00d484c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makedef.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ sub readvar {
285285
);
286286
}
287287

288-
unless ($define{'PERL_COPY_ON_WRITE'}) {
288+
if (!$define{'PERL_COPY_ON_WRITE'} || $define{'PERL_NO_COW'}) {
289289
++$skip{Perl_sv_setsv_cow};
290290
}
291291

0 commit comments

Comments
 (0)