mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue