Merge "Define char16_t and char32_t to make gcc 5.1 happy"

This commit is contained in:
Dan Albert 2015-04-30 19:29:47 +00:00 committed by Gerrit Code Review
commit 6a4c9d9bf9

View file

@ -34,6 +34,11 @@
__BEGIN_DECLS
#if defined(__GNUC__) && __GNUC__ >= 5 && !defined(__cplusplus)
typedef __CHAR16_TYPE__ char16_t;
typedef __CHAR32_TYPE__ char32_t;
#endif
#define __STD_UTF_16__ 1
#define __STD_UTF_32__ 1