Subject: | [PATCH] add UTF8_MAXBYTES |
An issue that has shown up in JSON::XS is that older versions of Perl
(at least pre-5.8.6) do not have the constant UTF8_MAXBYTES. The patch
below adds it.
Thanks,
Steve
--- ext/Devel/PPPort/parts/inc/misc.old 2007-07-02 14:20:05.000000000 -0500
+++ ext/Devel/PPPort/parts/inc/misc 2007-07-02 14:18:34.000000000 -0500
@@ -37,6 +37,7 @@
EXTERN_C
STMT_START
STMT_END
+UTF8_MAXBYTES
XSRETURN
=implementation
@@ -213,6 +214,8 @@
__UNDEFINED__ SVf "_"
+__UNDEFINED__ UTF8_MAXBYTES UTF8_MAXLEN
+
=xsmisc