This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX.xs: Silence compiler warning
authorKarl Williamson <khw@cpan.org>
Wed, 22 Feb 2023 22:35:38 +0000 (15:35 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 1 Mar 2023 23:59:36 +0000 (16:59 -0700)
commit596a08d178db0b06f82e95e5389e608471599103
tree15b6035d53da95335d00cb000493debee9135c94
parenta769d3e640ceecd7ce719115d3f36d2194247282
POSIX.xs: Silence compiler warning

This happens only in the unlikely event that localeconv() isn't present
on the system.

There are two ways used in this file to announce the lack of system.
This commit converts to the other way than previously, and the warning
goes away.
ext/POSIX/POSIX.xs
ext/POSIX/lib/POSIX.pm