In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/5fde9fa4cbe66ffa73af8a18a5042cb511c581a4?hp=aa959a20b7e2dc9d2259242c6befcf620e6dfb5b>
- Log ----------------------------------------------------------------- commit 5fde9fa4cbe66ffa73af8a18a5042cb511c581a4 Author: Nicholas Clark <[email protected]> Date: Mon Jul 30 16:53:52 2012 +0200 Fix C pre-processor expression in Dumper.xs Commit 153920a10f425609 added a second condition to an #ifdef in Dumper.xs, but didn't change the #ifdef to #if defined. Clearly gcc can cope with the resulting non-conformant pre-processor expression, but pickier compilers (such as HP's) reject it. Re-write it in a way that everything accepts. ----------------------------------------------------------------------- Summary of changes: dist/Data-Dumper/Dumper.xs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dist/Data-Dumper/Dumper.xs b/dist/Data-Dumper/Dumper.xs index f763664..156cba1 100644 --- 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'))) { -# ifndef 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); -- Perl5 Master Repository
