mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Add x86-32 optimized wcscmp
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user