diff options
author | Karl Williamson <khw@cpan.org> | 2019-11-14 08:33:31 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-11-14 18:22:50 -0700 |
commit | ae9a9edb65d4dd18b6ba99b2639e1906b9f81514 (patch) | |
tree | 22af91afb9f593cd39809f8b8051fe17a74fe046 /utf8.h | |
parent | 23fa16fc946b511fade5e4e0dd9811beff351d73 (diff) | |
download | perl-ae9a9edb65d4dd18b6ba99b2639e1906b9f81514.tar.gz |
utf8.h: Use MAX() macro instead of its expansion
It makes things a little clearer.
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -430,9 +430,7 @@ uppercase/lowercase/titlecase/fold into. =cut */ #define UTF8_MAXBYTES_CASE \ - (UTF8_MAXBYTES >= (UTF8_MAX_FOLD_CHAR_EXPAND * OFFUNISKIP(0x10FFFF)) \ - ? UTF8_MAXBYTES \ - : (UTF8_MAX_FOLD_CHAR_EXPAND * OFFUNISKIP(0x10FFFF))) + MAX(UTF8_MAXBYTES, UTF8_MAX_FOLD_CHAR_EXPAND * OFFUNISKIP(0x10FFFF)) /* Rest of these are attributes of Unicode and perl's internals rather than the * encoding, or happen to be the same in both ASCII and EBCDIC (at least at |