From 830686ec0bcd1dc10eb7ca2701bb26395900ea1b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 25 Feb 2010 16:10:42 +0000 Subject: * 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. --- newlib/libc/include/sys/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'newlib/libc/include/sys') 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 #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 -- cgit v1.2.3