From 061356241297c0f389ea743ce932a302961aed75 Mon Sep 17 00:00:00 2001 From: chenqiny Date: Mon, 2 Oct 2023 04:28:22 -0400 Subject: [PATCH] check whether platform is 390x if yes->do not import immintrin.h --- k_quants.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k_quants.c b/k_quants.c index 62085882d..7db605c11 100644 --- a/k_quants.c +++ b/k_quants.c @@ -46,7 +46,7 @@ inline static int32_t vaddvq_s32(int32x4_t v) { #if defined(_MSC_VER) || defined(__MINGW32__) #include #else -#if !defined(__riscv) +#if !defined(__riscv) && !defined(__s390__) #include #endif #endif