diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-02-25 16:10:42 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-02-25 16:10:42 +0000 |
commit | 830686ec0bcd1dc10eb7ca2701bb26395900ea1b (patch) | |
tree | f212963609000c5bad160ffe7136eb641f9f250d /newlib/libc/include/sys | |
parent | 39f7d1762b6be5493692513d65288d10bff25676 (diff) | |
download | cygnal-830686ec0bcd1dc10eb7ca2701bb26395900ea1b.tar.gz cygnal-830686ec0bcd1dc10eb7ca2701bb26395900ea1b.tar.bz2 cygnal-830686ec0bcd1dc10eb7ca2701bb26395900ea1b.zip |
* libc/locale/locale.c: Throughout, extensively comment on the
reason for using __CYGWIN__.
(lconv): Remove _CONST entirely.
(loadlocale): Guard calls to function loading locale-specific
category data with __HAVE_LOCALE_INFO__ rather than __CYGWIN__.
* libc/sys/config.h (__HAVE_LOCALE_INFO__): Define for Cygwin.
Diffstat (limited to 'newlib/libc/include/sys')
-rw-r--r-- | newlib/libc/include/sys/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index 0dfac088e..64a3fe638 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -190,6 +190,7 @@ #include <cygwin/config.h> #define __LINUX_ERRNO_EXTENSIONS__ 1 #define _MB_EXTENDED_CHARSETS_ALL 1 +#define __HAVE_LOCALE_INFO__ 1 #if !defined (__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L) #define __USE_XOPEN2K 1 #endif |