From: Ulrich Drepper Date: Fri, 17 Aug 2001 18:15:15 +0000 (+0000) Subject: Use __wcsoll only if _LIBC. X-Git-Tag: cvs/glibc-2-2-5~436 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d051d64233764957778bc017b9d7b6a57b1dd49;p=thirdparty%2Fglibc.git Use __wcsoll only if _LIBC. --- diff --git a/posix/regex.c b/posix/regex.c index 5424f044b54..a5c35fecd29 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -6388,7 +6388,11 @@ byte_re_match_2_internal (bufp, string1, size1,string2, size2, pos, /* If wcscoll(the collating symbol, whole string) > 0, any substring of the string never match with the collating symbol. */ +# ifdef _LIBC if (__wcscoll (workp, d) > 0) +# else + if (wcscoll (workp, d) > 0) +# endif { workp += length + 1; continue;