svn commit: trunk/uClibc/libc/sysdeps/linux/common/bits
psm at uclibc.org
psm at uclibc.org
Fri Jan 6 17:35:52 UTC 2006
Author: psm
Date: 2006-01-06 09:35:50 -0800 (Fri, 06 Jan 2006)
New Revision: 13132
Log:
Allow to build gcc/libstdc++ w/ LOCALE enabled, XLOCALE probably won't work though
Modified:
trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h 2006-01-06 08:25:08 UTC (rev 13131)
+++ trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h 2006-01-06 17:35:50 UTC (rev 13132)
@@ -67,7 +67,7 @@
/**********************************************************************/
#ifndef __LOCALE_C_ONLY
-#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
+#if defined _LIBC /* && (defined IS_IN_libc || defined NOT_IN_libc) */
#include <stddef.h>
#include <stdint.h>
#include <bits/uClibc_touplow.h>
@@ -100,7 +100,7 @@
* In particular, C/POSIX locale is '#' + "\x80\x01"}*LC_ALL + nul.
*/
-#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc) && !defined __UCLIBC_GEN_LOCALE
+#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;
@@ -322,6 +322,7 @@
typedef struct __uclibc_locale_struct *__locale_t;
+/* if we need to leave only _LIBC, then attribute_hidden is not usable */
#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
extern int __locale_mbrtowc_l(wchar_t *__restrict dst,
const char *__restrict src,
More information about the uClibc-cvs
mailing list