From 025210618f126f2cc7fcbc2e0f58dbe8352a12c9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 28 Dec 2001 19:05:42 +0000 Subject: [PATCH] (mbsinit): Define as no-op if not available. --- src/strftime.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5