summaryrefslogtreecommitdiff
path: root/xsutils.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-04-12 14:05:51 +0100
committerNicholas Clark <nick@ccl4.org>2009-04-12 14:05:51 +0100
commit42f6aa011acc35d253b243e5e9990e254b882076 (patch)
treed032ddc10bfc7ae0fd2dc52fa15b23c21bc8dcfc /xsutils.c
parent8e5dadda1c1c201168c358a10e1073814c1cae6b (diff)
downloadperl-42f6aa011acc35d253b243e5e9990e254b882076.tar.gz
Remove #ifdef CVf_LVALUE/#endif - LVALUE subs aren't conditionally compiled.
Diffstat (limited to 'xsutils.c')
-rw-r--r--xsutils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xsutils.c b/xsutils.c
index 3bc1f9349b..baf3858fc4 100644
--- a/xsutils.c
+++ b/xsutils.c
@@ -75,7 +75,6 @@ modify_SV_attributes(pTHX_ SV *sv, SV **retlist, SV **attrlist, int numattrs)
switch ((int)len) {
case 6:
switch (name[3]) {
-#ifdef CVf_LVALUE
case 'l':
if (memEQ(name, "lvalue", 6)) {
if (negated)
@@ -85,7 +84,6 @@ modify_SV_attributes(pTHX_ SV *sv, SV **retlist, SV **attrlist, int numattrs)
continue;
}
break;
-#endif
case 'k':
if (memEQ(name, "locked", 6)) {
if (negated)
@@ -208,10 +206,8 @@ usage:
cvflags = CvFLAGS((const CV *)sv);
if (cvflags & CVf_LOCKED)
XPUSHs(newSVpvs_flags("locked", SVs_TEMP));
-#ifdef CVf_LVALUE
if (cvflags & CVf_LVALUE)
XPUSHs(newSVpvs_flags("lvalue", SVs_TEMP));
-#endif
if (cvflags & CVf_METHOD)
XPUSHs(newSVpvs_flags("method", SVs_TEMP));
if (GvUNIQUE(CvGV((const CV *)sv)))