* libc/locale/locale.c (setlocale): Don't build on Cygwin.

This commit is contained in:
Corinna Vinschen 2009-05-13 14:54:11 +00:00
parent c91ae28fd2
commit 136033a852
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-05-13 Corinna Vinschen <corinna@vinschen.de>
* libc/locale/locale.c (setlocale): Don't build on Cygwin.
2009-05-11 Craig Howland <howland@LGSInnovations.com>
* libm/machine/i386/f_llrint.c: Remove llrint() definition.

View File

@ -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)