diff options
author | Richard M. Stallman <rms@gnu.org> | 2001-12-28 19:05:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2001-12-28 19:05:42 +0000 |
commit | 025210618f126f2cc7fcbc2e0f58dbe8352a12c9 (patch) | |
tree | 7f55318f96fbd71e671936b6dee0aa66ceb530ca /src/strftime.c | |
parent | 00417fac361c4c600e3d75fb6cfbe97709606ad9 (diff) | |
download | emacs-025210618f126f2cc7fcbc2e0f58dbe8352a12c9.tar.gz |
(mbsinit): Define as no-op if not available.
Diffstat (limited to 'src/strftime.c')
-rw-r--r-- | src/strftime.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <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 |