summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-03-24 13:14:34 -0600
committerKarl Williamson <public@khwilliamson.com>2013-08-29 09:56:04 -0600
commit843a4590a7379332295060c86a63b286b4676429 (patch)
tree0e03c27aea10b10852ea15ea52d09b4ee5cbbadc /utf8.h
parentd8f42585be563b859f319be6a4579343a0a6027a (diff)
downloadperl-843a4590a7379332295060c86a63b286b4676429.tar.gz
utf8.h, utfebcdic.h: Add #define
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utf8.h b/utf8.h
index 4037a6a501..574fd7a696 100644
--- a/utf8.h
+++ b/utf8.h
@@ -266,6 +266,8 @@ Perl's extended UTF-8 means we can have start bytes up to FF.
#error UTF8_MAXBYTES must be at least 12
#endif
+#define MAX_UTF8_TWO_BYTE 0x7FF
+
#define UTF8_MAXBYTES_CASE UTF8_MAXBYTES
#endif /* EBCDIC vs ASCII */