summaryrefslogtreecommitdiff
path: root/utf8.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 /utf8.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 'utf8.h')
-rw-r--r--utf8.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/utf8.h b/utf8.h
index 276fa2953f..e26f3cc4ef 100644
--- a/utf8.h
+++ b/utf8.h
@@ -235,13 +235,6 @@ are in the character.
*/
-/* Anything larger than this will overflow the word if it were converted into a UV */
-#if defined(UV_IS_QUAD)
-# define HIGHEST_REPRESENTABLE_UTF8 "\xFF\x80\x8F\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF\xBF"
-#else
-# define HIGHEST_REPRESENTABLE_UTF8 "\xFE\x83\xBF\xBF\xBF\xBF\xBF"
-#endif
-
/* Is the representation of the Unicode code point 'cp' the same regardless of
* being encoded in UTF-8 or not? */
#define OFFUNI_IS_INVARIANT(cp) isASCII(cp)