mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
ntdll: Fix compilation for ARM64 Apple platform.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com> Signed-off-by: Jactry Zeng <jzeng@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
eef8a44db7
commit
03649e5fb4
1 changed files with 4 additions and 4 deletions
|
@ -365,7 +365,7 @@ static void restore_fpu( const CONTEXT *context, ucontext_t *sigcontext )
|
|||
#elif defined(__APPLE__)
|
||||
sigcontext->uc_mcontext->__ns.__fpcr = context->Fpcr;
|
||||
sigcontext->uc_mcontext->__ns.__fpsr = context->Fpsr;
|
||||
memcpy( sigcontext->uc_mcontext->__ns.__v, context->V, sizeof(context->v) );
|
||||
memcpy( sigcontext->uc_mcontext->__ns.__v, context->V, sizeof(context->V) );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -1068,9 +1068,9 @@ static void usr2_handler( int signal, siginfo_t *siginfo, void *sigcontext )
|
|||
}
|
||||
}
|
||||
#elif defined(__APPLE__)
|
||||
sigcontext->uc_mcontext->__ns.__fpcr = frame->fpcr;
|
||||
sigcontext->uc_mcontext->__ns.__fpsr = frame->fpsr;
|
||||
memcpy( sigcontext->uc_mcontext->__ns.__v, frame->v, sizeof(frame->v) );
|
||||
context->uc_mcontext->__ns.__fpcr = frame->fpcr;
|
||||
context->uc_mcontext->__ns.__fpsr = frame->fpsr;
|
||||
memcpy( context->uc_mcontext->__ns.__v, frame->v, sizeof(frame->v) );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue