diff options
author | Karl Williamson <khw@cpan.org> | 2021-06-14 04:45:10 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-07 05:14:43 -0600 |
commit | 788cdc671aaa395bf2ca2e23f659513cf6193f49 (patch) | |
tree | efa33497281b48f3bee9f8c2e89cf67d529b5c50 /utf8.c | |
parent | 03a8ddc0378fe9958d955ac7deffdfc293830b54 (diff) | |
download | perl-788cdc671aaa395bf2ca2e23f659513cf6193f49.tar.gz |
utf8.h: Add new #define for extended length UTF-8
The previous commit added a convenient place to create a symbol to
indicate that the UTF-8 on this platform includes Perl's nearly-double
length extension. The platforms this isn't needed on are 32-bit ASCII
ones. This symbol allows removing one place where EBCDIC need
be considered, and future commits will use it as well.
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -894,7 +894,7 @@ S_does_utf8_overflow(const U8 * const s, # endif #endif -#if ! defined(UV_IS_QUAD) && ! defined(EBCDIC) +#ifndef HAS_EXTRA_LONG_UTF8 /* On 32 bit ASCII machines, many overlongs that start with FF don't * overflow */ |