This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix compilation with NO_LOCALE
authorKarl Williamson <khw@cpan.org>
Sun, 9 Jul 2023 18:52:22 +0000 (12:52 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 9 Jul 2023 19:20:42 +0000 (13:20 -0600)
commit7ab97bfbfe9a118fb5c9c44ae4be542de3490331
tree103ac6ff2f4b42940bb201bb1c614b31dd0e8f69
parent025f315c7bf97831d22500a789b094b800cc9adb
Fix compilation with NO_LOCALE

Commit c164c467952dd4fb7b81b3030f8ccc445ae438a8 causes the compilation
to fail on platforms that do not have locales enabled.

The enum's start is only done when there are locales, while the enum's
ending is done regardless, leaving the start missing when no locales.

This commit fixes that.
perl.h