[Lldb-commits] [PATCH] D65965: [lldb] Fix HAVE_LIBCOMPRESSION

Haibo Huang via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 8 12:34:30 PDT 2019


hhb created this revision.
hhb added a reviewer: labath.
hhb added a project: LLDB.
Herald added a subscriber: lldb-commits.

This test doesn't make sense. Change to be consistent with what we did
in GDBRemoteCommunication.cpp.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65965

Files:
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp


Index: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
===================================================================
--- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ 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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65965.214211.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190808/e0143329/attachment.bin>


More information about the lldb-commits mailing list