Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-05-13 18:54:11 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-05-13 18:54:11 +0400
commit136033a8528352fb63fd25534de9fc10173a2576 (patch)
treea9d62efe6ff2d6fbd2b5167e40f5c6103d918fbf /newlib/libc/locale
parentc91ae28fd27ea0319810caa2dda187555dc31a84 (diff)
* libc/locale/locale.c (setlocale): Don't build on Cygwin.
Diffstat (limited to 'newlib/libc/locale')
-rw-r--r--newlib/libc/locale/locale.c3
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)