aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <git@madler.net>2026-02-17 04:35:11 -0800
committerMark Adler <git@madler.net>2026-02-17 04:36:48 -0800
commit591ef31613a6f37d21d90bd8355b313eaa70a420 (patch)
treec5c94d023a0ab4a4bf7e8e72809d4d663c5a2bde
parent3b4b11d1cd10871517b420d7da1b127b1f81198b (diff)
downloadzlib-591ef31613a6f37d21d90bd8355b313eaa70a420.tar.gz
zlib-591ef31613a6f37d21d90bd8355b313eaa70a420.tar.bz2
zlib-591ef31613a6f37d21d90bd8355b313eaa70a420.zip
Avoid using the value of an undefined macro in crc32.c.
-rw-r--r--crc32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crc32.c b/crc32.c
index 166330d0..97eb5fda 100644
--- a/crc32.c
+++ b/crc32.c
@@ -106,7 +106,8 @@
106#endif 106#endif
107 107
108/* If available, use the ARM processor CRC32 instruction. */ 108/* If available, use the ARM processor CRC32 instruction. */
109#if defined(__aarch64__) && defined(__ARM_FEATURE_CRC32) && W == 8 109#if defined(__aarch64__) && defined(__ARM_FEATURE_CRC32) && \
110 defined(W) && W == 8
110# define ARMCRC32 111# define ARMCRC32
111#endif 112#endif
112 113