Merge "Make Unicode.h use types that match libc++."
This commit is contained in:
commit
aaa920d796
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ extern "C" {
|
||||||
|
|
||||||
// Definitions exist in C++11
|
// Definitions exist in C++11
|
||||||
#if defined __cplusplus && __cplusplus < 201103L
|
#if defined __cplusplus && __cplusplus < 201103L
|
||||||
typedef uint32_t char32_t;
|
typedef unsigned int char32_t;
|
||||||
typedef uint16_t char16_t;
|
typedef unsigned short char16_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Standard string functions on char16_t strings.
|
// Standard string functions on char16_t strings.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue