Prevent perl header overriding our *snprintf macros, and give it a usable PERL_UNUSED_DECL value.

Andrew Dunstan <andrew@dunslane.net>

Commit: 77622887449f0fd0eb08b28fe4fa5992c357d45a
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2011-04-25T16:46:59Z
Releases: 9.1.0
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.

Files

PathChange+/−
src/pl/plperl/plperl.h modified +36 −0