From 9cd989087dfdef8953a180bfc1572ff38cf3a7dd Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Fri, 4 Aug 2023 16:01:05 -0400 Subject: [PATCH] fix: build on Windows ARM64 (#913) Regression introduced in commit 3cd730b18b563fdd48cd95dfb0174551aa18c3b3 --- include/CLI/impl/Argv_inl.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/CLI/impl/Argv_inl.hpp b/include/CLI/impl/Argv_inl.hpp index 3d00a570d..a00201799 100644 --- a/include/CLI/impl/Argv_inl.hpp +++ b/include/CLI/impl/Argv_inl.hpp @@ -29,6 +29,10 @@ #define _X86_ #elif defined(__arm__) || defined(_M_ARM) || defined(_M_ARMT) #define _ARM_ +#elif defined(__aarch64__) || defined(_M_ARM64) +#define _ARM64_ +#elif defined(_M_ARM64EC) +#define _ARM64EC_ #endif #endif