From 28acf056e1e94a70b60b9392a88dc967eaf28e07 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Tue, 23 Apr 2013 08:57:30 +0000 Subject: Add more guards around zlib-dependent code llvm-svn: 180084 --- llvm/unittests/Support/CompressionTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/unittests/Support/CompressionTest.cpp') diff --git a/llvm/unittests/Support/CompressionTest.cpp b/llvm/unittests/Support/CompressionTest.cpp index aad7ed0..c8e2cd9 100644 --- a/llvm/unittests/Support/CompressionTest.cpp +++ b/llvm/unittests/Support/CompressionTest.cpp @@ -22,7 +22,7 @@ using namespace llvm; namespace { -#if LLVM_ENABLE_ZLIB == 1 +#if LLVM_ENABLE_ZLIB == 1 && HAVE_LIBZ void TestZlibCompression(StringRef Input, zlib::CompressionLevel Level) { OwningPtr Compressed; -- cgit v1.1