Mercurial > emacs
changeset 42384:e4835ecdffbc
(mbsinit): Define as no-op if not available.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 28 Dec 2001 19:05:42 +0000 |
parents | 4d7337b920e3 |
children | 606c1e5f2619 |
files | src/strftime.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/strftime.c Fri Dec 28 18:58:40 2001 +0000 +++ b/src/strftime.c Fri Dec 28 19:05:42 2001 +0000 @@ -68,6 +68,9 @@ #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