From: Richard M. Stallman Date: Fri, 28 Dec 2001 19:05:42 +0000 (+0000) Subject: (mbsinit): Define as no-op if not available. X-Git-Tag: ttn-vms-21-2-B4~17439 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=025210618f126f2cc7fcbc2e0f58dbe8352a12c9;p=emacs.git (mbsinit): Define as no-op if not available. --- diff --git a/src/strftime.c b/src/strftime.c index 61047bf9578..789e7ae8e91 100644 --- a/src/strftime.c +++ b/src/strftime.c @@ -68,6 +68,9 @@ extern char *tzname[]; #if DO_MULTIBYTE # if HAVE_MBRLEN # include +# 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