This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
parts/inc/misc: Use parameters in #defines
authorKarl Williamson <khw@cpan.org>
Tue, 6 Aug 2019 22:40:12 +0000 (16:40 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:51:28 +0000 (16:51 -0600)
commitef89c4f1c57967f0af62d503667957700e74a59c
tree90e8e429393acb867d36008a422c11791c5ad434
parente17f68231dd7d8e7771a792525d5dbb108b9a2dc
parts/inc/misc: Use parameters in #defines

Aliasing just the macro name does work, but saying
    #define FOO(c) BAR(c)
instead of
    #define FOO BAR

makes it easier for D:P to calculate the lowest release it provides
support for for these macros

(cherry picked from commit 71933851d906d58786a409f028f182c88d5812d9)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/parts/inc/misc