]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - wcsmbs/wcscmp.c
Add x86-32 optimized wcscmp
[thirdparty/glibc.git] / wcsmbs / wcscmp.c
index 8241c67f9b77e0ba4d22eb8cfaf8e76b0374884d..6c93f702f641604001a965e1f91b08be7a162785 100644 (file)
 
 #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)