summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/Encode/encode.h
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2021-03-03 11:04:20 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2021-03-03 11:04:20 +0000
commit13c3572d26e0868b9665513e4646ade860ae7810 (patch)
tree72f68d7c1270cc0a1d504f8eeb45d4de6b36f2d1 /Master/tlpkg/tlperl/lib/Encode/encode.h
parent87d16a01498a53c4bb455d78ae7131370e47591e (diff)
Updated tlperl
git-svn-id: svn://tug.org/texlive/trunk@58075 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Encode/encode.h')
-rw-r--r--Master/tlpkg/tlperl/lib/Encode/encode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/Encode/encode.h b/Master/tlpkg/tlperl/lib/Encode/encode.h
index 5d7663d5b55..ba884d42d1a 100644
--- a/Master/tlpkg/tlperl/lib/Encode/encode.h
+++ b/Master/tlpkg/tlperl/lib/Encode/encode.h
@@ -280,6 +280,14 @@ S_new_msg_hv(const char * const message, /* The message text */
# define PERL_UNUSED_ARG(x) ((void)x)
# endif
+# ifndef memGT
+# define memGT(s1,s2,l) (memcmp(s1,s2,l) > 0)
+# endif
+
+# ifndef MIN
+# define MIN(a,b) ((a) < (b) ? (a) : (b))
+# endif
+
static const char malformed_text[] = "Malformed UTF-8 character";
static char *