diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/build_config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h index df16071..cedac01 100644 --- a/build/build_config.h +++ b/build/build_config.h @@ -54,6 +54,7 @@ #define USE_OPENSSL 1 #define USE_SYSTEM_ZLIB 1 #define USE_SYSTEM_SQLITE 1 +#define OS_ANDROID 1 #endif #if !defined(USE_OPENSSL) @@ -145,4 +146,13 @@ //define CROS_FONTS_USING_BCI #endif +#if defined(OS_ANDROID) +// The compiler thinks std::string::const_iterator and "const char*" are +// equivalent types. +#define STD_STRING_ITERATOR_IS_CHAR_POINTER +// The compiler thinks base::string16::const_iterator and "char16*" are +// equivalent types. +#define BASE_STRING16_ITERATOR_IS_CHAR16_POINTER +#endif + #endif // BUILD_BUILD_CONFIG_H_ |