Parcourir la source

Fix for the last "fix".

Manuel Novoa III il y a 22 ans
Parent
commit
9c7c0249ac
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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;
 
+#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... */