]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
unify uses of __ARM_FEATURE_CRC32
authorSebastian Pop <s.pop@samsung.com>
Tue, 5 Mar 2019 15:28:27 +0000 (09:28 -0600)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 8 Mar 2019 10:33:01 +0000 (11:33 +0100)
functable.c

index ca5d0cfd369a61fbe8317495a1b7cc012b39cfdc..b4f1d769ec0af61662370a61674aaa390b17e058 100644 (file)
@@ -111,7 +111,7 @@ ZLIB_INTERNAL uint32_t crc32_stub(uint32_t crc, const unsigned char *buf, uint64
     if (sizeof(void *) == sizeof(ptrdiff_t)) {
 #if BYTE_ORDER == LITTLE_ENDIAN
       functable.crc32=crc32_little;
-#  if __ARM_FEATURE_CRC32 && defined(ARM_ACLE_CRC_HASH)
+#  if defined(__ARM_FEATURE_CRC32) && defined(ARM_ACLE_CRC_HASH)
       if (arm_cpu_has_crc32)
         functable.crc32=crc32_acle;
 #  endif