This is an automated email from the ASF dual-hosted git repository. yangzhg pushed a commit to branch libhdfs3 in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
commit a3a62d054cacf4b8bb62f0f86cbe2a12618e35ec Author: yangzhg <yangz...@gmail.com> AuthorDate: Mon Jun 6 21:23:49 2022 +0800 fix arm support --- src/common/HWCrc32c.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/HWCrc32c.cpp b/src/common/HWCrc32c.cpp index 1152745..f61b4b6 100644 --- a/src/common/HWCrc32c.cpp +++ b/src/common/HWCrc32c.cpp @@ -64,7 +64,7 @@ static inline uint32_t _mm_crc32_u8(uint32_t crc, uint8_t value) { #include <nmmintrin.h> #endif -#elseif ((defined(__arm__) || defined(__aarch64__))) +#elif ((defined(__arm__) || defined(__aarch64__))) #include "sse2neon.h" #endif @@ -80,7 +80,7 @@ bool HWCrc32c::available() { */ __get_cpuid(1, &eax, &ebx, &ecx, &edx); return (ecx & (1 << 20)) != 0; -#elseif ((defined(__arm__) || defined(__aarch64__))) +#elif ((defined(__arm__) || defined(__aarch64__))) return true; #else return false; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org