commit | 28acf056e1e94a70b60b9392a88dc967eaf28e07 | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Tue Apr 23 08:57:30 2013 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Tue Apr 23 08:57:30 2013 +0000 |
tree | f51900a76ab9813363cf1757b7cdcc7dc7cc3c11 | |
parent | 2fb337e77a9a766cac4d49147592bf9715ff913b [diff] [blame] |
Add more guards around zlib-dependent code llvm-svn: 180084
diff --git a/llvm/lib/Support/Compression.cpp b/llvm/lib/Support/Compression.cpp index d0adf79..497b17e 100644 --- a/llvm/lib/Support/Compression.cpp +++ b/llvm/lib/Support/Compression.cpp
@@ -23,7 +23,7 @@ using namespace llvm; -#if LLVM_ENABLE_ZLIB == 1 +#if LLVM_ENABLE_ZLIB == 1 && HAVE_LIBZ static int encodeZlibCompressionLevel(zlib::CompressionLevel Level) { switch (Level) { case zlib::NoCompression: return 0;