mirror of https://github.com/adtools/clib2.git
Define ISO 99 multibyte functions also in C++ context.
This commit is contained in:
parent
f6f0082a0e
commit
f5f0e17e78
|
@ -181,7 +181,7 @@ extern size_t wcsftime(wchar_t *s, size_t maxsize, const wchar_t *format, const
|
|||
|
||||
/****************************************************************************/
|
||||
|
||||
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
|
||||
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) || defined(__cplusplus)
|
||||
|
||||
extern size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict ps);
|
||||
extern size_t mbrtowc(wchar_t *restrict pwc, const char *restrict s, size_t n, mbstate_t *restrict ps);
|
||||
|
|
Loading…
Reference in New Issue