mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-19 19:34:19 +08:00
win32: recognize MSVC-style ARM64 host macros
This commit is contained in:
parent
6cb9d7ae53
commit
f220a8c32f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user