From: Nicholas Clark Date: Tue, 13 Mar 2007 19:33:02 +0000 (+0000) Subject: Integrate: X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f7192a3fffacb8763319f5b577b413ff27615496;p=p5sagit%2Fp5-mst-13.2.git Integrate: [ 30565] Make the constant AVf_REAL conditional on Perl version. p4raw-link: @30565 on //depot/maint-5.8/perl: 5f8a8dc2063e97069e9cba3dcf0af31374112448 p4raw-id: //depot/perl@30566 p4raw-integrated: from //depot/maint-5.8/perl@30563 'copy in' ext/B/defsubs_h.PL (@30564..) --- diff --git a/ext/B/defsubs_h.PL b/ext/B/defsubs_h.PL index e55eae7..eefaa7e 100644 --- a/ext/B/defsubs_h.PL +++ b/ext/B/defsubs_h.PL @@ -62,7 +62,10 @@ if ($] < 5.009) { if ($] >= 5.009) { # Constant not present in 5.8.x doconst(CVf_ISXSUB); -} +} else { + # Constant not present after 5.8.x + doconst(AVf_REAL); +} foreach my $file (qw(op.h cop.h)) {