diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-12-28 06:19:42 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-01 07:17:22 -0500 |
commit | db6af3ebf46a83b885455dc03a3c2c1c2c2dedec (patch) | |
tree | 942a59c7de0033cf9ab3231523130c323fa4b80c /wcsmbs/uchar.h | |
parent | 8ea79a616e43093f403927e425c197afe39196b7 (diff) | |
download | glibc-db6af3ebf46a83b885455dc03a3c2c1c2c2dedec.tar.gz glibc-db6af3ebf46a83b885455dc03a3c2c1c2c2dedec.tar.xz glibc-db6af3ebf46a83b885455dc03a3c2c1c2c2dedec.zip |
Add uchar.h support, part 1
c16 support for locales other than the C locale is still missing.
Diffstat (limited to 'wcsmbs/uchar.h')
-rw-r--r-- | wcsmbs/uchar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wcsmbs/uchar.h b/wcsmbs/uchar.h index 44637c3396..bb5f3ba35c 100644 --- a/wcsmbs/uchar.h +++ b/wcsmbs/uchar.h @@ -31,6 +31,14 @@ #define __need_mbstate_t #include <wchar.h> +#ifndef __mbstate_t_defined +__BEGIN_NAMESPACE_C99 +/* Public type. */ +typedef __mbstate_t mbstate_t; +__END_NAMESPACE_C99 +# define __mbstate_t_defined 1 +#endif + #ifdef __GNUC__ /* Define the 16-bit and 32-bit character types. Use the information |