Prevent perl header overriding our *snprintf macros, and give it a usable PERL_UNUSED...
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 25 Apr 2011 16:46:59 +0000 (12:46 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 25 Apr 2011 16:46:59 +0000 (12:46 -0400)
commit77622887449f0fd0eb08b28fe4fa5992c357d45a
tree6ac732e6bbb904858ae25dd27fd625e9e168e0f7
parent7e0f8f836da9a992c8cbd99c5c06ea40247d6a33
Prevent perl header overriding our *snprintf macros, and give it a usable PERL_UNUSED_DECL value.

This quiets compiler warnings about redefined macros and unused Perl__unused variables. The
redefinition of snprintf and vsnprintf is something we want to avoid anyway, if we've
gone to the bother of setting up the macros to point to our implementation.
src/pl/plperl/plperl.h