浏览代码

Fix for the last "fix".

Manuel Novoa III 21 年之前
父节点
当前提交
9c7c0249ac
共有 1 个文件被更改,包括 2 次插入0 次删除
  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... */