1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

Add a few extra wide-character prototypes and the missing typedef locale_t

This commit is contained in:
Henning Nielsen Lund
2017-08-01 21:26:59 +02:00
parent d6e5769bc5
commit 309bbd8c8c
4 changed files with 29 additions and 9 deletions

View File

@ -37,9 +37,13 @@
/****************************************************************************/
#if defined(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
int
mbtowc(wchar_t *pwc, const char *s, size_t n)
mbtowc(wchar_t *restrict pwc, const char *restrict s, size_t n)
{
/* ZZZ unimplemented */
return(-1);
}
#endif