From: Yann Collet Date: Tue, 14 Jan 2025 22:56:10 +0000 (-0800) Subject: changed code compilation test to employ ZSTD_ARCH_X86_AVX2 X-Git-Tag: v1.5.7^2~36^2~2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2f3ee8b5309958a2bc1fc7477e703fd8195a31ea;p=thirdparty%2Fzstd.git changed code compilation test to employ ZSTD_ARCH_X86_AVX2 --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 55622cbd5..8e5f369bb 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -7384,7 +7384,7 @@ size_t ZSTD_convertBlockSequences(ZSTD_CCtx* cctx, return 0; } -#if defined(__AVX2__) +#if defined(ZSTD_ARCH_X86_AVX2) /* C90-compatible alignment macro (GCC/Clang). Adjust for other compilers if needed. */ #if defined(__GNUC__)