Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f5ad5ff authored by Dan Albert's avatar Dan Albert
Browse files

Make Unicode.h use types that match libc++.

libc++ also defines these types for pre-C++11, and the two definitions
need to match to avoid redefinition errors.

Bug: 18300613
Change-Id: I1e9198d39f7c470f37bc6edba2dca2d499f54c9b
parent 26552565
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@ extern "C" {

// Definitions exist in C++11
#if defined __cplusplus && __cplusplus < 201103L
typedef uint32_t char32_t;
typedef uint16_t char16_t;
typedef unsigned int   char32_t;
typedef unsigned short char16_t;
#endif

// Standard string functions on char16_t strings.