mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Fix mbtowc() to and compile it.
This commit is contained in:
@ -37,13 +37,13 @@
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
#if defined(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
|
||||
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
|
||||
|
||||
int
|
||||
mbtowc(wchar_t *restrict pwc, const char *restrict s, size_t n)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(-1);
|
||||
errno = EILSEQ;
|
||||
return -1;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user