Commit 02521061 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(mbsinit): Define as no-op if not available.

parent 00417fac
......@@ -68,6 +68,9 @@ extern char *tzname[];
#if DO_MULTIBYTE
# if HAVE_MBRLEN
# include <wchar.h>
# if !defined (mbsinit) && !defined (HAVE_MBSINIT)
# define mbsinit(ps) 1
# endif /* !defined (mbsinit) && !defined (HAVE_MBSINIT) */
# else
/* Simulate mbrlen with mblen as best we can. */
# define mbstate_t int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment