# In Android, prefer Android's libbase definitions for LIKELY/UNLIKELY macros. --- a/base/compiler_specific.h +++ b/base/compiler_specific.h @@ -7,6 +7,11 @@ #include "build/build_config.h" +#if defined(ANDROID) +// Prefer Android's libbase definitions to our own. +#include +#endif // defined(ANDROID) + #if defined(COMPILER_MSVC) // For _Printf_format_string_.