diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Encode/encode.h')
-rw-r--r-- | Master/tlpkg/tlperl/lib/Encode/encode.h | 8 |
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 * |