aboutsummaryrefslogtreecommitdiffstats
path: root/src/strftime.c
diff options
context:
space:
mode:
authorRichard M. Stallman2001-12-28 19:05:42 +0000
committerRichard M. Stallman2001-12-28 19:05:42 +0000
commit025210618f126f2cc7fcbc2e0f58dbe8352a12c9 (patch)
tree7f55318f96fbd71e671936b6dee0aa66ceb530ca /src/strftime.c
parent00417fac361c4c600e3d75fb6cfbe97709606ad9 (diff)
downloademacs-025210618f126f2cc7fcbc2e0f58dbe8352a12c9.tar.gz
emacs-025210618f126f2cc7fcbc2e0f58dbe8352a12c9.zip
(mbsinit): Define as no-op if not available.
Diffstat (limited to 'src/strftime.c')
-rw-r--r--src/strftime.c3
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[];
68#if DO_MULTIBYTE 68#if DO_MULTIBYTE
69# if HAVE_MBRLEN 69# if HAVE_MBRLEN
70# include <wchar.h> 70# include <wchar.h>
71# if !defined (mbsinit) && !defined (HAVE_MBSINIT)
72# define mbsinit(ps) 1
73# endif /* !defined (mbsinit) && !defined (HAVE_MBSINIT) */
71# else 74# else
72 /* Simulate mbrlen with mblen as best we can. */ 75 /* Simulate mbrlen with mblen as best we can. */
73# define mbstate_t int 76# define mbstate_t int