summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility
diff options
context:
space:
mode:
authorShawn Best <sbest@blueshiftinc.com>2014-11-08 01:41:49 +0000
committerShawn Best <sbest@blueshiftinc.com>2014-11-08 01:41:49 +0000
commit8da0bf3b7cf3670095d7ce9eac885dfc5976720e (patch)
tree05ff1512e3eb73a6f0e0387105bba0df772c671e /lldb/source/Utility
parented9825848281163a14c55f48def81b6e04ef7ffe (diff)
downloadbcm5719-llvm-8da0bf3b7cf3670095d7ce9eac885dfc5976720e.tar.gz
bcm5719-llvm-8da0bf3b7cf3670095d7ce9eac885dfc5976720e.zip
LLGS Android target support - for Andy Chien : http://reviews.llvm.org/D6166
llvm-svn: 221570
Diffstat (limited to 'lldb/source/Utility')
-rw-r--r--lldb/source/Utility/PseudoTerminal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Utility/PseudoTerminal.cpp b/lldb/source/Utility/PseudoTerminal.cpp
index f60c00aac02..e90955d37d4 100644
--- a/lldb/source/Utility/PseudoTerminal.cpp
+++ b/lldb/source/Utility/PseudoTerminal.cpp
@@ -31,6 +31,8 @@ char *ptsname(int fd) { return 0; }
pid_t fork(void) { return 0; }
pid_t setsid(void) { return 0; }
+#elif defined(__ANDROID_NDK__)
+#include "lldb/Host/android/Android.h"
#endif
using namespace lldb_utility;
OpenPOWER on IntegriCloud