diff options
Diffstat (limited to 'src')
| -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[]; | |||
| 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 |