diff options
author | Jason Molenda <jmolenda@apple.com> | 2019-04-03 01:16:54 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2019-04-03 01:16:54 +0000 |
commit | aa107ca3a55fc5ed40f29c1423cee15b11099610 (patch) | |
tree | 6e5e4097578d5c180f145882b2180f3e459cb0d9 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | b4f9991f383e1a864eb6d994400394f489060b27 (diff) | |
download | bcm5719-llvm-aa107ca3a55fc5ed40f29c1423cee15b11099610.tar.gz bcm5719-llvm-aa107ca3a55fc5ed40f29c1423cee15b11099610.zip |
Avoid macro redefinition error if HAVE_LIBCOMPRESSION
is already defined.
llvm-svn: 357553
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp index 89059f74814..60d33cc74e3 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 |