[Lldb-commits] [lldb] r274277 - Fix for Windows builds.
Adrian McCarthy via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 30 13:55:51 PDT 2016
Author: amccarth
Date: Thu Jun 30 15:55:50 2016
New Revision: 274277
URL: http://llvm.org/viewvc/llvm-project?rev=274277&view=rev
Log:
Fix for Windows builds.
Modified:
lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp
Modified: lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp?rev=274277&r1=274276&r2=274277&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp Thu Jun 30 15:55:50 2016
@@ -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;
More information about the lldb-commits
mailing list