win32: recognize MSVC-style ARM64 host macros

This commit is contained in:
Benjamin Oldenburg 2026-03-16 03:35:23 +07:00
parent 6cb9d7ae53
commit f220a8c32f

View File

@ -70,9 +70,13 @@
#ifdef _WIN64
#define __stdcall
#if defined(__aarch64__)
#if defined(__aarch64__) || defined(_M_ARM64) || defined(_ARM64_)
#ifndef _M_ARM64
#define _M_ARM64 1
#endif
#ifndef _ARM64_
#define _ARM64_ 1
#endif
#else
#define _AMD64_ 1
#define __x86_64 1