]> sourceware.org Git - newlib-cygwin.git/commitdiff
* libc/locale/locale.c (setlocale): Don't build on Cygwin.
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 13 May 2009 14:54:11 +0000 (14:54 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 13 May 2009 14:54:11 +0000 (14:54 +0000)
newlib/ChangeLog
newlib/libc/locale/locale.c

index 08d0421f6b81c9580a8b4298121c2808399a7dfe..c8876719d9a9a6827ea3514cb0c4c782ce1ee4bf 100644 (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.
index b5a0ee74ce0342068d64698ccb83549a73ab38eb..444a5aca8aa94e60e1adc15988afcbee778289af 100644 (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)
This page took 0.048076 seconds and 5 git commands to generate.