On Fri Jul 18 12:34:47 2025 +0000, Alfred Agrell wrote:
[On MSVC](https://techcommunity.microsoft.com/blog/windowsosplatform/getting-to-know-a...), arm64ec defines _M_AMD64 and does not define _M_ARM64. I'd guess your compiler does something similar, and you need to explicitly look for an arm64ec define.
I found following pre-defined macros. Still strange arm64ec has x86_64 ... ``` $ clang -target arm64ec-windows -dM -E -x c /dev/null | grep -E "__x86_64__|arm.*ec" #define __arm64ec__ 1 #define __x86_64__ 1 ```