Am Tue, 20 Oct 2009 15:34:47 +0200 schrieb Bernhard Reutner-Fischer:

> That's why i said "like" ;)
> I mean #if defined _LIBC || defined __UCLIBC_GEN_LOCALE but see below

Hi,

ah, now I understand what you mean.

In addition to your patch I successfully used this to compile gcc:

--- uClibc-0.9.30.2.git.org/libc/sysdeps/linux/common/bits/uClibc_locale.h      
2009-10-19 08:40:56.000000000 +0200
+++ uClibc-0.9.30.2.git/libc/sysdeps/linux/common/bits/uClibc_locale.h  
2009-10-20 16:58:05.000000000 +0200
@@ -65,7 +65,7 @@
 /**********************************************************************/
 #ifndef __LOCALE_C_ONLY
 
-#if defined _LIBC /* && (defined IS_IN_libc || defined NOT_IN_libc) */
+#if defined _LIBC || defined __UCLIBC_GEN_LOCALE /* && (defined IS_IN_libc || 
defined NOT_IN_libc) */
 #include <stddef.h>
 #include <stdint.h>
 #include <bits/uClibc_touplow.h>
@@ -98,7 +98,7 @@
   * In particular, C/POSIX locale is '#' + "\x80\x01"}*LC_ALL + nul.
   */
 
-#if defined _LIBC && !defined __UCLIBC_GEN_LOCALE /* && (defined IS_IN_libc || 
defined NOT_IN_libc) */
+#if defined _LIBC || defined __UCLIBC_GEN_LOCALE /* && (defined IS_IN_libc || 
defined NOT_IN_libc) */
 typedef struct {
        uint16_t num_weights;
        uint16_t num_starters;


Cheers, rhabarber1848

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to