From 5ab52989c1802c43be28cee8ce43072fdd181540 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 23 Sep 2023 01:01:41 +0100 Subject: [PATCH] Fix declaration of ARM CRC32 function in ARMv7 compilers. --- crc32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crc32.h b/crc32.h index 3c8dbe7..96d52c5 100644 --- a/crc32.h +++ b/crc32.h @@ -274,7 +274,7 @@ AARU_EXPORT CLMUL uint32_t AARU_CALL crc32_clmul(uint32_t previous_crc, const ui #endif #if defined(__aarch64__) || defined(_M_ARM64) || defined(__arm__) || defined(_M_ARM) -#if __ARM_ARCH >= 8 +#if __ARM_ARCH >= 7 AARU_EXPORT TARGET_ARMV8_WITH_CRC uint32_t AARU_CALL armv8_crc32_little(uint32_t previous_crc, const uint8_t* data, uint32_t len);