diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-08-24 21:14:09 +0200 |
---|---|---|
committer | Amit Pundir <Amit.Pundir@linaro.org> | 2013-02-13 08:45:23 +0530 |
commit | 2a6e24530b5e0b4dc42f200e6b4e35042d22830e (patch) | |
tree | b0816ca696aed2da7007e52bb8e8dafb6dce6329 | |
parent | b3432c50737dc6c12cce8e8f3c70eba25dc3efa9 (diff) | |
download | native-2a6e24530b5e0b4dc42f200e6b4e35042d22830e.tar.gz |
frameworks/native: Fix build in ISO C++11 mode
Change-Id: Icc19cde1bf9c72397ed8bda545e9056483d83e8d
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | include/utils/Unicode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils/Unicode.h b/include/utils/Unicode.h index 9273533770..443f66d24d 100644 --- a/include/utils/Unicode.h +++ b/include/utils/Unicode.h @@ -22,8 +22,10 @@ extern "C" { +#if __cplusplus < 201103L && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(char16_t) typedef uint32_t char32_t; typedef uint16_t char16_t; +#endif // Standard string functions on char16_t strings. int strcmp16(const char16_t *, const char16_t *); |