This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.h, utfebcdic.h: Fix-up UTF8_MAXBYTES_CASE defn
authorKarl Williamson <khw@cpan.org>
Fri, 30 Oct 2015 03:19:40 +0000 (21:19 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 6 Dec 2015 05:06:49 +0000 (22:06 -0700)
commitc03c0950362cd6989da96074362b2d4456a8204d
tree2c83864f1ac40af0cdc5957086405e5cb208acbb
parente92b5416baeb0c13e693ffd0dc4447382beffd89
utf8.h, utfebcdic.h: Fix-up UTF8_MAXBYTES_CASE defn

The definition had gotten moved away from its comments in utf8.h, and
the wrong thing was being guarded by a #error, (UTF8_MAXBYTES instead).
And it is possible to generalize to get the compiler to do the
calculation, and to consolidate the definitions from the two files into
a single one.
utf8.h
utfebcdic.h