[Lldb-commits] [PATCH] D48977: Fixed redefinition warnings with LLVM_ENABLE_MODULES

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 5 10:17:18 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL336377: Fixed redefinition warnings with LLVM_ENABLE_MODULES (authored by teemperor, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D48977?vs=154252&id=154262#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48977

Files:
  lldb/trunk/include/lldb/Host/Config.h.cmake


Index: lldb/trunk/include/lldb/Host/Config.h.cmake
===================================================================
--- lldb/trunk/include/lldb/Host/Config.h.cmake
+++ lldb/trunk/include/lldb/Host/Config.h.cmake
@@ -30,6 +30,8 @@
 
 #cmakedefine01 HAVE_NR_PROCESS_VM_READV
 
+#ifndef HAVE_LIBCOMPRESSION
 #cmakedefine HAVE_LIBCOMPRESSION
+#endif
 
 #endif // #ifndef LLDB_HOST_CONFIG_H


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48977.154262.patch
Type: text/x-patch
Size: 389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180705/3250d66e/attachment.bin>


More information about the lldb-commits mailing list