diff options
Diffstat (limited to 'newlib/libc/stdlib/wctomb_r.c')
-rw-r--r-- | newlib/libc/stdlib/wctomb_r.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/wctomb_r.c b/newlib/libc/stdlib/wctomb_r.c index 95a04069c..207221a7e 100644 --- a/newlib/libc/stdlib/wctomb_r.c +++ b/newlib/libc/stdlib/wctomb_r.c @@ -8,7 +8,11 @@ int (*__wctomb) (struct _reent *, char *, wchar_t, const char *charset, mbstate_t *) +#ifdef __CYGWIN__ + = __utf8_wctomb; +#else = __ascii_wctomb; +#endif int _DEFUN (_wctomb_r, (r, s, wchar, state), |