about summary refs log tree commit diff
path: root/wcsmbs/wcscmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcscmp.c')
-rw-r--r--wcsmbs/wcscmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wcsmbs/wcscmp.c b/wcsmbs/wcscmp.c
index 88efc5b55d..fcfe0c5bcb 100644
--- a/wcsmbs/wcscmp.c
+++ b/wcsmbs/wcscmp.c
@@ -19,7 +19,7 @@
 #include <wchar.h>
 
 #ifndef WCSCMP
-# define WCSCMP wcscmp
+# define WCSCMP __wcscmp
 #endif
 
 /* Compare S1 and S2, returning less than, equal to or
@@ -44,3 +44,4 @@ WCSCMP (s1, s2)
   return c1 < c2 ? -1 : 1;
 }
 libc_hidden_def (WCSCMP)
+weak_alias (WCSCMP, wcscmp)