This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix C pre-processor expression in Dumper.xs
[perl5.git]
/
dist
/
Data-Dumper
/
Dumper.xs
diff --git
a/dist/Data-Dumper/Dumper.xs
b/dist/Data-Dumper/Dumper.xs
index
f763664
..
156cba1
100644
(file)
--- a/
dist/Data-Dumper/Dumper.xs
+++ b/
dist/Data-Dumper/Dumper.xs
@@
-1009,7
+1009,7
@@
DD_dump(pTHX_ SV *val, const char *name, STRLEN namelen, SV *retval, HV *seenhv,
}
#ifdef SvVOK
else if (SvMAGICAL(val) && (mg = mg_find(val, 'V'))) {
}
#ifdef SvVOK
else if (SvMAGICAL(val) && (mg = mg_find(val, 'V'))) {
-# if
ndef PL_vtbl_vstring
&& PERL_VERSION < 17
+# if
!defined(PL_vtbl_vstring)
&& PERL_VERSION < 17
SV * const vecsv = sv_newmortal();
# if PERL_VERSION < 10
scan_vstring(mg->mg_ptr, vecsv);
SV * const vecsv = sv_newmortal();
# if PERL_VERSION < 10
scan_vstring(mg->mg_ptr, vecsv);