summaryrefslogtreecommitdiff
path: root/ext/Fcntl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-03-21 22:01:32 +0000
committerNicholas Clark <nick@ccl4.org>2007-03-21 22:01:32 +0000
commit8ad94821f051a942e9998c251cdd5a5b1f4b681f (patch)
tree0706334c5334f525c1e912894ee98456e4bcc782 /ext/Fcntl
parent6460123ae692a9c25bc8c2253f12c8cf6f0ebdc0 (diff)
downloadperl-8ad94821f051a942e9998c251cdd5a5b1f4b681f.tar.gz
Only use proxy constant subroutines for 5.9.x.
p4raw-id: //depot/perl@30671
Diffstat (limited to 'ext/Fcntl')
-rw-r--r--ext/Fcntl/Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Fcntl/Makefile.PL b/ext/Fcntl/Makefile.PL
index 2f31a73ec9..f1d9bdf2c9 100644
--- a/ext/Fcntl/Makefile.PL
+++ b/ext/Fcntl/Makefile.PL
@@ -40,7 +40,7 @@ my @names = (qw(
{name=>"SEEK_END", default=>["IV", "2"]},
{name=>"_S_IFMT", macro=>"S_IFMT", value=>"S_IFMT"});
WriteConstants(
- PROXYSUBS => 1,
+ ($] > 5.009002 ? (PROXYSUBS => 1) : ()),
NAME => 'Fcntl',
NAMES => \@names,
);