diff options
Diffstat (limited to 'wcsmbs/wcscmp.c')
-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) |