commit | aa107ca3a55fc5ed40f29c1423cee15b11099610 | [log] [tgz] |
---|---|---|
author | Jason Molenda <jmolenda@apple.com> | Wed Apr 03 01:16:54 2019 +0000 |
committer | Jason Molenda <jmolenda@apple.com> | Wed Apr 03 01:16:54 2019 +0000 |
tree | 6e5e4097578d5c180f145882b2180f3e459cb0d9 | |
parent | b4f9991f383e1a864eb6d994400394f489060b27 [diff] [blame] |
Avoid macro redefinition error if HAVE_LIBCOMPRESSION is already defined. llvm-svn: 357553
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 89059f7..60d33cc 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -37,7 +37,9 @@ #include "llvm/ADT/StringSwitch.h" #if defined(__APPLE__) +#ifndef HAVE_LIBCOMPRESSION #define HAVE_LIBCOMPRESSION +#endif #include <compression.h> #endif