From: TAKIZAWA Takashi Date: Wed, 24 Jul 2002 09:46:50 +0000 (+0000) Subject: The attached patch sets MB_LEN_MAX to 16, which is MB_LEN_MAX value X-Git-Tag: mutt-1-5-2-rel~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c334ba8f06b85905e655ff6c5246c76fa725da91;p=mutt The attached patch sets MB_LEN_MAX to 16, which is MB_LEN_MAX value on glibc-2.2. It works only with --without-wc-funcs switch. It may be applied to mutt-1.4 and mutt-1.5.1. --- diff --git a/mutt.h b/mutt.h index abdcf613..f87d7184 100644 --- a/mutt.h +++ b/mutt.h @@ -50,6 +50,13 @@ #include "hash.h" #include "charset.h" +#ifndef HAVE_WC_FUNCS +# ifdef MB_LEN_MAX +# undef MB_LEN_MAX +# endif +# define MB_LEN_MAX 16 +#endif + #ifdef SUBVERSION # define MUTT_VERSION (VERSION SUBVERSION) #else