Update uchar.h from bionic.
char16_t and char32_t should not be defined when building as C. For GCC they are, but not for clang. Pull in the updated bionic header which has the fix for this. Change-Id: I41b292ece36af79bbe835706bee4441b298215ff
This commit is contained in:
@@ -34,6 +34,11 @@
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#if __STDC_VERSION__ >= 201112L && !defined(__cplusplus)
|
||||
typedef __CHAR16_TYPE__ char16_t;
|
||||
typedef __CHAR32_TYPE__ char32_t;
|
||||
#endif
|
||||
|
||||
#define __STD_UTF_16__ 1
|
||||
#define __STD_UTF_32__ 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user