Carmelo AMOROSO wrote:

> My working proposal if for removing _LIBC from within uclibc_locale.h.
> Ready to commit. Let me know.

Hi,

yes, it works. Attached you will find the patch I used.

Cheers, rhabarber1848

diff -uNr uClibc-0.9.30.org/libc/sysdeps/linux/common/bits/uClibc_locale.h uClibc-0.9.30/libc/sysdeps/linux/common/bits/uClibc_locale.h
--- uClibc-0.9.30.org/libc/sysdeps/linux/common/bits/uClibc_locale.h	2009-02-13 13:03:09.000000000 +0100
+++ uClibc-0.9.30/libc/sysdeps/linux/common/bits/uClibc_locale.h	2009-02-13 12:35:07.000000000 +0100
@@ -41,11 +41,9 @@
 
 # define __LOCALE_C_ONLY
 
-# ifdef _LIBC
 #  define __XL_NPP(N) N
 #  define __LOCALE_PARAM
 #  define __LOCALE_ARG
-# endif
 
 #endif
 
@@ -90,8 +88,6 @@
 struct __uclibc_locale_struct;
 typedef struct __uclibc_locale_struct *__locale_t;
 
-#ifdef _LIBC
-
 /* extern void _locale_set(const unsigned char *p); */
 /* extern void _locale_init(void); */
 
@@ -367,8 +363,6 @@
 #endif
 /**********************************************************************/
 
-#endif /* _LIBC */
-
 #endif /* !defined(__LOCALE_C_ONLY) */
 
 #endif /* _UCLIBC_LOCALE_H */

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

Reply via email to