This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Fix conditional compilation
authorFrancois Perrad <francois.perrad@gadz.org>
Sun, 1 Jul 2018 22:17:44 +0000 (00:17 +0200)
committerKarl Williamson <khw@cpan.org>
Mon, 16 Jul 2018 17:15:04 +0000 (11:15 -0600)
commit17dd77cd74f0a69332c091f816162e34abff30c5
tree2e4503ac30303ed19f9e1a7838270a56f15f7b93
parent75d3e525390a7acfd95b0fc94e41aeb4af6587d4
locale.c: Fix conditional compilation

With Perl 5.28.0, there are some mismatches between blocks
and conditional compilation in the Perl__is_cur_LC_category_utf8() function.
The compilation of miniperl could fails like this:
```
locale.c: In function `Perl__is_cur_LC_category_utf8`:
locale.c:5481:1: error: expected declaration or statement at end of input
 }
 ^
```

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
locale.c