* grub-core/lib/posix_wrap/wchar.h (MB_CUR_MAX): ... here. Value fixed.
+2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/lib/posix_wrap/stdlib.h (MB_CUR_MAX): Moved from here ...
+ * grub-core/lib/posix_wrap/wchar.h (MB_CUR_MAX): ... here. Value fixed.
+
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Use grub_strcasecmp
grub_abort ();
}
-#define MB_CUR_MAX 6
-
#endif
WEOF = -1
};
-#define MB_LEN_MAX 4
-
/* UCS-4. */
typedef grub_int32_t wchar_t;
int count;
} mbstate_t;
+/* UTF-8. */
+#define MB_CUR_MAX 4
+#define MB_LEN_MAX 4
+
static inline size_t
mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
{