]> granicus.if.org Git - mutt/commitdiff
The attached patch sets MB_LEN_MAX to 16, which is MB_LEN_MAX value
authorTAKIZAWA Takashi <taki@luna.email.ne.jp>
Wed, 24 Jul 2002 09:46:50 +0000 (09:46 +0000)
committerTAKIZAWA Takashi <taki@luna.email.ne.jp>
Wed, 24 Jul 2002 09:46:50 +0000 (09:46 +0000)
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.

mutt.h

diff --git a/mutt.h b/mutt.h
index abdcf613529c5bcc2be7d543f917dfe000ad821b..f87d718402c155c5e5d74eb9d2fcdcf72def4bb7 100644 (file)
--- a/mutt.h
+++ b/mutt.h
 #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