浏览代码

add a 0.9.27 compat symbol (_glibc_strerror_r) since the function has since been renamed to __glibc_strerror_r in 0.9.28

Mike Frysinger 20 年之前
父节点
当前提交
4089ec9aeb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/string/wstring.c

+ 1 - 0
libc/string/wstring.c

@@ -1572,6 +1572,7 @@ int __xpg_strerror_r(int errnum, char *strerrbuf, size_t buflen)
 #ifdef L___glibc_strerror_r
 
 weak_alias(__glibc_strerror_r,__strerror_r);
+weak_alias(__glibc_strerror_r,_glibc_strerror_r); /* for 0.9.27 compat ... remove after 0.9.28 */
 
 char *__glibc_strerror_r(int errnum, char *strerrbuf, size_t buflen)
 {