projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Integrate encoding::warnings from Autrijus Tang.
[p5sagit/p5-mst-13.2.git]
/
xsutils.c
diff --git
a/xsutils.c
b/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':