summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-08-08 21:42:33 +0000
committerHaibo Huang <hhb@google.com>2019-08-08 21:42:33 +0000
commit7debc93afc1829e366340fe1438a041a34c26829 (patch)
treed3f1dd91af7451d9024672c94d4c95573a5fa181 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent3a9059effb1c6ec79c6edde44d10690c43c3f52e (diff)
downloadbcm5719-llvm-7debc93afc1829e366340fe1438a041a34c26829.tar.gz
bcm5719-llvm-7debc93afc1829e366340fe1438a041a34c26829.zip
[lldb] Fix HAVE_LIBCOMPRESSION
Summary: This test doesn't make sense. Change to be consistent with what we did in GDBRemoteCommunication.cpp. Reviewers: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D65965 llvm-svn: 368352
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 8ebeaf03be9..f5ce1374b33 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -36,10 +36,7 @@
#include "llvm/ADT/StringSwitch.h"
-#if defined(__APPLE__)
-#ifndef HAVE_LIBCOMPRESSION
-#define HAVE_LIBCOMPRESSION
-#endif
+#if defined(HAVE_LIBCOMPRESSION)
#include <compression.h>
#endif
OpenPOWER on IntegriCloud