diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-05 13:53:27 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-05 13:53:27 -0400 |
commit | 1b48c537821e27cf9b9c489e8773ba1d84f97b3e (patch) | |
tree | 586551f091846a97ec5102994e2111b3f4651c5e /wcsmbs | |
parent | 109715ee229b0ddff1d0d2585f910bb4fd49a61c (diff) | |
download | glibc-1b48c537821e27cf9b9c489e8773ba1d84f97b3e.tar.gz |
Add x86-32 optimized wcscmp
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/wcscmp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wcsmbs/wcscmp.c b/wcsmbs/wcscmp.c index 8241c67f9b..6c93f702f6 100644 --- a/wcsmbs/wcscmp.c +++ b/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) |