mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
MacOSX: First native Apple M1 support
This commit is contained in:
@@ -56,9 +56,13 @@ namespace VeraCrypt
|
||||
#elif defined (TC_MACOSX)
|
||||
# ifdef __x86_64__
|
||||
faultingInstructionAddress = context->uc_mcontext->__ss.__rip;
|
||||
# else
|
||||
# ifdef __aarch64__
|
||||
faultingInstructionAddress = context->uc_mcontext->__ss.__pc;
|
||||
# else
|
||||
faultingInstructionAddress = context->uc_mcontext->__ss.__eip;
|
||||
# endif
|
||||
# endif
|
||||
|
||||
#endif
|
||||
wstringstream vars;
|
||||
|
||||
Reference in New Issue
Block a user