diff --git a/compiler-rt/lib/scudo/standalone/platform.h b/compiler-rt/lib/scudo/standalone/platform.h --- a/compiler-rt/lib/scudo/standalone/platform.h +++ b/compiler-rt/lib/scudo/standalone/platform.h @@ -15,7 +15,7 @@ #define SCUDO_LINUX 0 #endif -#if defined(__ANDROID__) +#if defined(__ANDROID__) || defined(__BIONIC__) #define SCUDO_ANDROID 1 #else #define SCUDO_ANDROID 0