summaryrefslogtreecommitdiff
path: root/runtime/native_stack_dump.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/native_stack_dump.cc')
-rw-r--r--runtime/native_stack_dump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native_stack_dump.cc b/runtime/native_stack_dump.cc
index 1f09f45a5c..31deda10b6 100644
--- a/runtime/native_stack_dump.cc
+++ b/runtime/native_stack_dump.cc
@@ -69,7 +69,7 @@ using android::base::StringPrintf;
static constexpr bool kUseAddr2line = !kIsTargetBuild;
std::string FindAddr2line() {
-#if !defined(ART_TARGET_ANDROID) and !defined(ART_CLANG_PATH)
+#if !defined(ART_TARGET) && !defined(ART_CLANG_PATH)
#error "ART_CLANG_PATH must be defined on host build"
#endif
#if defined(ART_CLANG_PATH)