From 77c9267e79d87625158fdecaa27a5ce308c517ba Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Wed, 19 Jan 2005 21:22:30 +0000 Subject: Make "assertion" attribute code and test conditional p4raw-id: //depot/perl@23827 --- xsutils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xsutils.c') diff --git a/xsutils.c b/xsutils.c index 2dc0d7ab1a..c09a376b98 100644 --- a/xsutils.c +++ b/xsutils.c @@ -71,6 +71,7 @@ modify_SV_attributes(pTHX_ SV *sv, SV **retlist, SV **attrlist, int numattrs) switch (SvTYPE(sv)) { case SVt_PVCV: switch ((int)len) { +#ifdef CVf_ASSERTION case 9: if (memEQ(name, "assertion", 9)) { if (negated) @@ -80,6 +81,7 @@ modify_SV_attributes(pTHX_ SV *sv, SV **retlist, SV **attrlist, int numattrs) continue; } break; +#endif case 6: switch (name[3]) { case 'l': -- cgit v1.2.1