summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/Android/AdbClient.cpp
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2016-06-30 20:55:50 +0000
committerAdrian McCarthy <amccarth@google.com>2016-06-30 20:55:50 +0000
commit1341d4cde19fc2a455ee82da86c0ee6934925111 (patch)
tree8fbb026cd6ba21c149e1264ee2b8d06cf9ed8162 /lldb/source/Plugins/Platform/Android/AdbClient.cpp
parent86a93c5d39a55f955d11ec4158c9d157f98329af (diff)
downloadbcm5719-llvm-1341d4cde19fc2a455ee82da86c0ee6934925111.tar.gz
bcm5719-llvm-1341d4cde19fc2a455ee82da86c0ee6934925111.zip
Fix for Windows builds.
llvm-svn: 274277
Diffstat (limited to 'lldb/source/Plugins/Platform/Android/AdbClient.cpp')
-rw-r--r--lldb/source/Plugins/Platform/Android/AdbClient.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/Android/AdbClient.cpp b/lldb/source/Plugins/Platform/Android/AdbClient.cpp
index fef8dcb4f21..b4779507dba 100644
--- a/lldb/source/Plugins/Platform/Android/AdbClient.cpp
+++ b/lldb/source/Plugins/Platform/Android/AdbClient.cpp
@@ -29,6 +29,12 @@
#include <fstream>
#include <sstream>
+// On Windows, transitive dependencies pull in <Windows.h>, which defines a
+// macro that clashes with a method name.
+#ifdef SendMessage
+#undef SendMessage
+#endif
+
using namespace lldb;
using namespace lldb_private;
using namespace lldb_private::platform_android;
OpenPOWER on IntegriCloud