Avoid macro redefinition error if HAVE_LIBCOMPRESSION
authorJason Molenda <jmolenda@apple.com>
Wed, 3 Apr 2019 01:16:54 +0000 (01:16 +0000)
committerJason Molenda <jmolenda@apple.com>
Wed, 3 Apr 2019 01:16:54 +0000 (01:16 +0000)
is already defined.

llvm-svn: 357553

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

index 89059f7..60d33cc 100644 (file)
@@ -37,7 +37,9 @@
 #include "llvm/ADT/StringSwitch.h"
 
 #if defined(__APPLE__)
+#ifndef HAVE_LIBCOMPRESSION
 #define HAVE_LIBCOMPRESSION
+#endif
 #include <compression.h>
 #endif