about summary refs log tree commit diff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-01-08 00:23:09 +0000
committerUlrich Drepper <drepper@redhat.com>2009-01-08 00:23:09 +0000
commitb3918c7d7f99828d23232d0aaf4056f8fae9898e (patch)
tree317ef6202dc86daa7a351a045c355407aeb29a7c /posix/regex_internal.h
parentdf9293cb169bf848be529381ca43680aa192421e (diff)
downloadglibc-b3918c7d7f99828d23232d0aaf4056f8fae9898e.tar.gz
glibc-b3918c7d7f99828d23232d0aaf4056f8fae9898e.tar.xz
glibc-b3918c7d7f99828d23232d0aaf4056f8fae9898e.zip
* posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc.
	* posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer,
	re_string_skip_chars, re_string_reconstruct): Likewise.
	* posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 79266781b8..65a9905860 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -116,6 +116,7 @@
 # define __wctype wctype
 # define __iswctype iswctype
 # define __btowc btowc
+# define __mbrtowc mbrtowc
 # define __mempcpy mempcpy
 # define __wcrtomb wcrtomb
 # define __regfree regfree