This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: (patch blead) Extend t/harness to allow filtering of the file list by regex.
[perl5.git] / xsutils.c
index 2dc0d7a..c09a376 100644 (file)
--- 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':