This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix C pre-processor expression in Dumper.xs
authorNicholas Clark <nick@ccl4.org>
Mon, 30 Jul 2012 14:53:52 +0000 (16:53 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 30 Jul 2012 14:53:52 +0000 (16:53 +0200)
commit5fde9fa4cbe66ffa73af8a18a5042cb511c581a4
treeeb14dc51aa47a0f63310b43d4e3090cf53244194
parentaa959a20b7e2dc9d2259242c6befcf620e6dfb5b
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.
dist/Data-Dumper/Dumper.xs