From 1b48c537821e27cf9b9c489e8773ba1d84f97b3e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 5 Sep 2011 13:53:27 -0400 Subject: Add x86-32 optimized wcscmp --- wcsmbs/wcscmp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'wcsmbs/wcscmp.c') 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 +#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) -- cgit 1.4.1