From b0d5e406e0bd7d7563ba08b0c6d1c32a1d108b72 Mon Sep 17 00:00:00 2001 From: Artem Ikchurin Date: Thu, 2 Nov 2023 15:07:49 +0300 Subject: [PATCH] Fixup building with AVX flag --- snappy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappy.cc b/snappy.cc index 6473123..0631834 100644 --- a/snappy.cc +++ b/snappy.cc @@ -60,7 +60,7 @@ #endif #endif // !defined(SNAPPY_HAVE_NEON_CRC32) -#if SNAPPY_HAVE_BMI2 || SNAPPY_HAVE_X86_CRC32 +#if SNAPPY_HAVE_BMI2 || SNAPPY_HAVE_X86_CRC32 || ((defined(__x86_64__) && defined(__AVX__)) // Please do not replace with . or with headers that assume more // advanced SSE versions without checking with all the OWNERS. #include