aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-17 18:15:15 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-17 18:15:15 +0000
commit9d051d64233764957778bc017b9d7b6a57b1dd49 (patch)
tree05cc57245bf2a5c5f6f125313b018f53b49f95e2 /posix
parent1d3884574e3686ade45f2caf772450ade0272560 (diff)
downloadglibc-9d051d64233764957778bc017b9d7b6a57b1dd49.tar
glibc-9d051d64233764957778bc017b9d7b6a57b1dd49.tar.gz
glibc-9d051d64233764957778bc017b9d7b6a57b1dd49.tar.bz2
glibc-9d051d64233764957778bc017b9d7b6a57b1dd49.zip
Use __wcsoll only if _LIBC.
Diffstat (limited to 'posix')
-rw-r--r--posix/regex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/regex.c b/posix/regex.c
index 5424f044b5..a5c35fecd2 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;