diff options
Diffstat (limited to 'lib/scudo/scudo_utils.cpp')
-rw-r--r-- | lib/scudo/scudo_utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/scudo/scudo_utils.cpp b/lib/scudo/scudo_utils.cpp index 653b6c8fa..fb082a475 100644 --- a/lib/scudo/scudo_utils.cpp +++ b/lib/scudo/scudo_utils.cpp @@ -18,9 +18,9 @@ # include <cpuid.h> #endif #if defined(__arm__) || defined(__aarch64__) -# if SANITIZER_ANDROID && __ANDROID_API__ < 18 -// getauxval() was introduced with API level 18 on Android. Emulate it using -// /proc/self/auxv for lower API levels. +# if SANITIZER_ANDROID && __ANDROID_API__ < 21 +// getauxval() was introduced with API level 18 for ARM and 21 for AArch64. +// Emulate it using /proc/self/auxv for lower API levels. # include "sanitizer_common/sanitizer_posix.h" # include <fcntl.h> |