aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Support/CRC.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-03-05 18:11:47 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-03-05 18:11:47 +0000
commit8c27c5541e95164a37ac1beb7bd4ef43429aed55 (patch)
tree19d62cc4239be95baae56a75f2d7275c55b61163 /contrib/llvm-project/llvm/lib/Support/CRC.cpp
parent69660011c6637bc32c9b5ff25f285de3e1209225 (diff)
parentd652fd2996ce31dfd35dd2a9c58bf051ca7fff44 (diff)
Notes
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/CRC.cpp')
-rw-r--r--contrib/llvm-project/llvm/lib/Support/CRC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/CRC.cpp b/contrib/llvm-project/llvm/lib/Support/CRC.cpp
index 2bc668beed32..7ff09debe3b7 100644
--- a/contrib/llvm-project/llvm/lib/Support/CRC.cpp
+++ b/contrib/llvm-project/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,