diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index abdc3da..7fe5dd4 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -41,7 +41,7 @@ #define DEBUGSERVER_BASENAME "lldb-server" #endif -#if defined(HAVE_LIBCOMPRESSION) +#if HAVE_LIBCOMPRESSION #include <compression.h> #endif @@ -72,7 +72,7 @@ GDBRemoteCommunication::~GDBRemoteCommunication() { Disconnect(); } -#if defined(HAVE_LIBCOMPRESSION) +#if HAVE_LIBCOMPRESSION if (m_decompression_scratch) free (m_decompression_scratch); #endif @@ -509,7 +509,7 @@ bool GDBRemoteCommunication::DecompressPacket() { } } -#if defined(HAVE_LIBCOMPRESSION) +#if HAVE_LIBCOMPRESSION if (m_compression_type == CompressionType::ZlibDeflate || m_compression_type == CompressionType::LZFSE || m_compression_type == CompressionType::LZ4 || |