1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef _UCHAR_H
- #define _UCHAR_H 1
- #include <features.h>
- #define __need_size_t
- #include <stddef.h>
- #define __need_mbstate_t
- #include <wchar.h>
- #ifndef __mbstate_t_defined
- __BEGIN_NAMESPACE_C99
- typedef __mbstate_t mbstate_t;
- __END_NAMESPACE_C99
- # define __mbstate_t_defined 1
- #endif
- #if defined __GNUC__ && !defined __USE_ISOCXX11
- # if !defined __CHAR16_TYPE__ || !defined __CHAR32_TYPE__
- # if defined __STDC_VERSION__ && __STDC_VERSION__ < 201000L
- # error "<uchar.h> requires ISO C11 mode"
- # else
- # error "definitions of __CHAR16_TYPE__ and/or __CHAR32_TYPE__ missing"
- # endif
- # endif
- typedef __CHAR16_TYPE__ char16_t;
- typedef __CHAR32_TYPE__ char32_t;
- #endif
- #endif
|