diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/locale/locale.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index b5a0ee74c..444a5aca8 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -654,6 +654,7 @@ _DEFUN(_localeconv_r, (data), #ifndef _REENT_ONLY +#ifndef __CYGWIN__ char * _DEFUN(setlocale, (category, locale), int category _AND @@ -661,7 +662,7 @@ _DEFUN(setlocale, (category, locale), { return _setlocale_r (_REENT, category, locale); } - +#endif struct lconv * _DEFUN_VOID(localeconv) |