Add more guards around zlib-dependent code

llvm-svn: 180084
This commit is contained in:
Alexey Samsonov
2013-04-23 08:57:30 +00:00
parent 2fb337e77a
commit 28acf056e1
3 changed files with 5 additions and 2 deletions

View File

@@ -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;