aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CRC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/CRC.cpp')
-rw-r--r--llvm/lib/Support/CRC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CRC.cpp b/llvm/lib/Support/CRC.cpp
index 2bc668b..7ff09de 100644
--- a/llvm/lib/Support/CRC.cpp
+++ b/llvm/lib/Support/CRC.cpp
@@ -25,7 +25,7 @@
using namespace llvm;
-#if !LLVM_ENABLE_ZLIB
+#if LLVM_ENABLE_ZLIB == 0 || !HAVE_ZLIB_H
static const uint32_t CRCTable[256] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,