summaryrefslogtreecommitdiff
path: root/utfebcdic.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-05-11 21:31:58 -0600
committerKarl Williamson <khw@cpan.org>2017-07-01 17:01:36 -0600
commitc179379da8b0c4d6a4fc09871f72ff3640bb45b3 (patch)
tree6620664e22bd8d1031b15f63c54a7e41457dd14b /utfebcdic.h
parentfecaf13651f384b7117457536b4d71ed907cb937 (diff)
downloadperl-c179379da8b0c4d6a4fc09871f72ff3640bb45b3.tar.gz
utf8.c: Move some #defines here, the only file that uses them
These are very specialized #defines to determine if UTF-8 overflows the word size of the platform. I think its unwise to make them kinda generally available.
Diffstat (limited to 'utfebcdic.h')
-rw-r--r--utfebcdic.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/utfebcdic.h b/utfebcdic.h
index 08b934b129..0f81d1ffee 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -268,13 +268,6 @@ explicitly forbidden, and the shortest possible encoding should always be used
* for more */
#define QUESTION_MARK_CTRL LATIN1_TO_NATIVE(0x9F)
-/* Any I8 string larger than this will overflow the word if it were converted into a UV */
-#if defined(UV_IS_QUAD)
-# define HIGHEST_REPRESENTABLE_UTF8 "\xFF\xAF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF"
-#else
-# define HIGHEST_REPRESENTABLE_UTF8 "\xFF\xA0\xA0\xA0\xA0\xA0\xA0\xA3\xBF\xBF\xBF\xBF\xBF\xBF"
-#endif
-
/* Helper macros for isUTF8_CHAR_foo, so use those instead of this. These were
* generated by regen/regcharclass.pl, and then moved here. Then they were
* hand-edited to add some LIKELY() calls, presuming that malformations are