Manuel Novoa III 21 жил өмнө
parent
commit
9c7c0249ac

+ 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;
 
+#ifdef _LIBC
 extern int __locale_mbrtowc_l(wchar_t *__restrict dst,
 							  const char *__restrict src,
 							  __locale_t loc );
+#endif
 
 #ifdef L_setlocale
 /* so we only get the warning once... */