summaryrefslogtreecommitdiff
path: root/libc/wcsmbs/wcscmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/wcsmbs/wcscmp.c')
-rw-r--r--libc/wcsmbs/wcscmp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/wcsmbs/wcscmp.c b/libc/wcsmbs/wcscmp.c
index 8241c67f9..6c93f702f 100644
--- a/libc/wcsmbs/wcscmp.c
+++ b/libc/wcsmbs/wcscmp.c
@@ -19,12 +19,15 @@
#include <wchar.h>
+#ifndef WCSCMP
+# define WCSCMP wcscmp
+#endif
/* Compare S1 and S2, returning less than, equal to or
greater than zero if S1 is lexicographically less than,
equal to or greater than S2. */
int
-wcscmp (s1, s2)
+WCSCMP (s1, s2)
const wchar_t *s1;
const wchar_t *s2;
{
@@ -41,4 +44,4 @@ wcscmp (s1, s2)
return c1 - c2;
}
-libc_hidden_def (wcscmp)
+libc_hidden_def (WCSCMP)