@@ -41,7 +41,7 @@
mcontext_t = record
__es : __darwin_arm_exception_state64;
__ss : __darwin_arm_thread_state64;
- __fs : __darwin_arm_neon_state64;
+ __ns : __darwin_arm_neon_state64;
end;
@@ -44,7 +44,7 @@ begin
res:=233;
{ right now, macOS generates SIGILL signals for fpu exceptions, so always clear the fpu exceptions }
- SigContext^.uc_mcontext^.__fs.__fpsr:=SigContext^.uc_mcontext^.__fs.__fpsr and not(fpu_exception_mask shr fpu_exception_mask_to_status_mask_shift);
+ SigContext^.uc_mcontext^.__ns.__fpsr:=SigContext^.uc_mcontext^.__ns.__fpsr and not(fpu_exception_mask shr fpu_exception_mask_to_status_mask_shift);
{$ifdef FPC_USE_SIGPROCMASK}
reenable_signal(sig);
{$endif }