Browse Source

Fix for the last "fix".

Manuel Novoa III 21 years ago
parent
commit
9c7c0249ac
1 changed files with 2 additions and 0 deletions
  1. 2 0
      libc/sysdeps/linux/common/bits/uClibc_locale.h

+ 2 - 0
libc/sysdeps/linux/common/bits/uClibc_locale.h

@@ -321,9 +321,11 @@ extern struct __uclibc_locale_struct * __global_locale;
 
 
 typedef struct __uclibc_locale_struct *__locale_t;
 typedef struct __uclibc_locale_struct *__locale_t;
 
 
+#ifdef _LIBC
 extern int __locale_mbrtowc_l(wchar_t *__restrict dst,
 extern int __locale_mbrtowc_l(wchar_t *__restrict dst,
 							  const char *__restrict src,
 							  const char *__restrict src,
 							  __locale_t loc );
 							  __locale_t loc );
+#endif
 
 
 #ifdef L_setlocale
 #ifdef L_setlocale
 /* so we only get the warning once... */
 /* so we only get the warning once... */