Win32: Fix the macro for arm64 on mswin
Visual C defines `_M_`-prefixed macros for the target architectures.
This commit is contained in:
parent
5a7a1a4a13
commit
e4a4dea2c0
Notes:
git
2024-12-17 11:56:50 +00:00
@ -756,7 +756,7 @@ dump_thread(void *arg)
|
||||
frame.AddrFrame.Offset = context.Rbp;
|
||||
frame.AddrStack.Mode = AddrModeFlat;
|
||||
frame.AddrStack.Offset = context.Rsp;
|
||||
#elif defined(__aarch64__)
|
||||
#elif defined(_M_ARM64) || defined(__aarch64__)
|
||||
mac = IMAGE_FILE_MACHINE_ARM64;
|
||||
frame.AddrPC.Mode = AddrModeFlat;
|
||||
frame.AddrPC.Offset = context.Pc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user