From: Nicholas Clark Date: Sun, 12 Apr 2009 13:05:51 +0000 (+0100) Subject: Remove #ifdef CVf_LVALUE/#endif - LVALUE subs aren't conditionally compiled. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=42f6aa011acc35d253b243e5e9990e254b882076;p=p5sagit%2Fp5-mst-13.2.git Remove #ifdef CVf_LVALUE/#endif - LVALUE subs aren't conditionally compiled. --- diff --git a/xsutils.c b/xsutils.c index 3bc1f93..baf3858 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)))