summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-16 06:00:36 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-16 06:00:36 +0000
commit4089ec9aeba57498b21688084417c1afd7b6d003 (patch)
tree17f117190af6278ba36ebbc0300cc30c5efb7d5a /libc
parentcdb62b6d88425c57b6d355c85caeaaa77a8f0a67 (diff)
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
Diffstat (limited to 'libc')
-rw-r--r--libc/string/wstring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/wstring.c b/libc/string/wstring.c
index 6f54ae615..acf1a2b0a 100644
--- a/libc/string/wstring.c
+++ b/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)
{