summaryrefslogtreecommitdiff
path: root/libc/misc/regex
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-06 14:53:37 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-06 14:53:37 +0000
commit92a148d641dced0bdb03bc9e6166356499e49f80 (patch)
treec3ac0e234053bd85b9d4dbbd2d50d84b227a47d0 /libc/misc/regex
parent0c091da2f8c2745c97d0069cfa4acae169d57b41 (diff)
Make use internal str*casecmp/wcscoll
Diffstat (limited to 'libc/misc/regex')
-rw-r--r--libc/misc/regex/regex.c2
-rw-r--r--libc/misc/regex/regex_old.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index bf8958a66..789e78b49 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -54,6 +54,8 @@ extern int __iswctype (wint_t __wc, wctype_t __desc) /*attribute_hidden*/;
#define strlen __strlen
#define strncpy __strncpy
#define getenv __getenv
+#define strcasecmp __strcasecmp
+#define wcscoll __wcscoll
extern void *__mempcpy (void *__restrict __dest,
__const void *__restrict __src, size_t __n) /*attribute_hidden*/;
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index 69b77c4c3..486e29c40 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -28,6 +28,7 @@
#define wcslen __wcslen
/* for some reason this does not work */
#define memcpy __memcpy
+#define wcscoll __wcscoll
/* To exclude some unwanted junk.... */
#undef _LIBC