diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2020-01-02 15:35:22 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2020-01-02 16:02:10 +0000 |
commit | e406cca5f9a6477c9861717f81c156aa83feeaca (patch) | |
tree | 59444cab919ea20ae0b9d754093c058fb12c1edb /llvm/unittests/Support/CompressionTest.cpp | |
parent | 34397b75609c09c1723cd6c0b27f8f13c641ce4c (diff) | |
download | bcm5719-llvm-e406cca5f9a6477c9861717f81c156aa83feeaca.tar.gz bcm5719-llvm-e406cca5f9a6477c9861717f81c156aa83feeaca.zip |
Revert "build: reduce CMake handling for zlib"
This reverts commit 68a235d07f9e7049c7eb0c8091f37e385327ac28.
This commit broke the clang-x64-windows-msvc build bot and a follow-up
commit did not fix it. Reverting to fix the bot.
Diffstat (limited to 'llvm/unittests/Support/CompressionTest.cpp')
-rw-r--r-- | llvm/unittests/Support/CompressionTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/CompressionTest.cpp b/llvm/unittests/Support/CompressionTest.cpp index 51723898e95..cc7be431b62 100644 --- a/llvm/unittests/Support/CompressionTest.cpp +++ b/llvm/unittests/Support/CompressionTest.cpp @@ -21,7 +21,7 @@ using namespace llvm; namespace { -#if LLVM_ENABLE_ZLIB +#if LLVM_ENABLE_ZLIB == 1 && HAVE_LIBZ void TestZlibCompression(StringRef Input, int Level) { SmallString<32> Compressed; |