summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/MainLoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/common/MainLoop.cpp')
-rw-r--r--lldb/source/Host/common/MainLoop.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Host/common/MainLoop.cpp b/lldb/source/Host/common/MainLoop.cpp
index e48882b274e..d0e0d00a315 100644
--- a/lldb/source/Host/common/MainLoop.cpp
+++ b/lldb/source/Host/common/MainLoop.cpp
@@ -38,6 +38,10 @@
#define POLL poll
#endif
+#ifdef __ANDROID__
+#define FORCE_PSELECT
+#endif
+
#if SIGNAL_POLLING_UNSUPPORTED
#ifdef LLVM_ON_WIN32
typedef int sigset_t;
OpenPOWER on IntegriCloud