summaryrefslogtreecommitdiff
path: root/ext/Fcntl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-19 12:13:52 +0200
committerNicholas Clark <nick@ccl4.org>2010-10-19 12:13:52 +0200
commit80a649c810fab9a1510e35c012adc454dd4a0a4e (patch)
tree1a3b3ccfff13ccc414d51901ed7f3f4f1c6867c9 /ext/Fcntl
parent0eedeed40b39b3e37aa3a674c182ccda0c738aa6 (diff)
downloadperl-80a649c810fab9a1510e35c012adc454dd4a0a4e.tar.gz
Fcntl, POSIX and Socket can all use Proxy Constant Subs unconditionally.
Previously each Makefile.PL had conditional code to only use them post 5.9.2, so that the code would not diverge between blead and maint-5.8. That isn't an important consideration any longer, whereas removing the conditional code here will allow their AUTOLOAD routines to be simplified.
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 43067893eb..2bed7547a1 100644
--- a/ext/Fcntl/Makefile.PL
+++ b/ext/Fcntl/Makefile.PL
@@ -39,7 +39,7 @@ my @names = (qw(
{name=>"SEEK_END", default=>["IV", "2"]},
{name=>"_S_IFMT", macro=>"S_IFMT", value=>"S_IFMT"});
WriteConstants(
- ($] > 5.009002 ? (PROXYSUBS => 1) : ()),
+ PROXYSUBS => 1,
NAME => 'Fcntl',
NAMES => \@names,
);