From 6139cd0656575c3600052101565d777f6f5be0a3 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Mon, 22 Jan 2024 10:03:36 -0800 Subject: [PATCH] util: Detect arm64ec as aarch64 (and x86_64) Reviewed-by: Yonggang Luo Part-of: --- src/util/detect_arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/detect_arch.h b/src/util/detect_arch.h index b3f7f90ac96..83e4784465b 100644 --- a/src/util/detect_arch.h +++ b/src/util/detect_arch.h @@ -85,7 +85,7 @@ #define DETECT_ARCH_ARM 1 #endif -#if defined(__aarch64__) || defined(_M_ARM64) +#if defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC) #define DETECT_ARCH_AARCH64 1 #endif