summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/posix/HostInfoPosix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/posix/HostInfoPosix.cpp')
-rw-r--r--lldb/source/Host/posix/HostInfoPosix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/posix/HostInfoPosix.cpp b/lldb/source/Host/posix/HostInfoPosix.cpp
index 689928cd38f..38aac59ecc4 100644
--- a/lldb/source/Host/posix/HostInfoPosix.cpp
+++ b/lldb/source/Host/posix/HostInfoPosix.cpp
@@ -48,7 +48,7 @@ bool HostInfoPosix::GetHostname(std::string &s) {
return false;
}
-#ifdef __ANDROID_NDK__
+#ifdef __ANDROID__
#include <android/api-level.h>
#endif
#if defined(__ANDROID_API__) && __ANDROID_API__ < 21
OpenPOWER on IntegriCloud