summaryrefslogtreecommitdiffstats
path: root/libc/string/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/memcmp.c')
-rw-r--r--libc/string/memcmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/string/memcmp.c b/libc/string/memcmp.c
index 9de28c234..377a8d692 100644
--- a/libc/string/memcmp.c
+++ b/libc/string/memcmp.c
@@ -38,5 +38,7 @@ int Wmemcmp(const Wvoid *s1, const Wvoid *s2, size_t n)
#ifndef WANT_WIDE
libc_hidden_def(memcmp)
+# ifdef __UCLIBC_SUSV3_LEGACY__
strong_alias(memcmp,bcmp)
+# endif
#endif