forked from eden-emu/eden
[nce] fix multiarch
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
a2a77982da
commit
e390b5790e
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,7 @@
|
||||||
# error "unimplemented"
|
# error "unimplemented"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ARCHITECTURE_arm64
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
inline _STRUCT_ARM_NEON_STATE64* GetFloatingPointState(mcontext_t& host_ctx) {
|
inline _STRUCT_ARM_NEON_STATE64* GetFloatingPointState(mcontext_t& host_ctx) {
|
||||||
return &(host_ctx->__ns);
|
return &(host_ctx->__ns);
|
||||||
|
@ -109,3 +110,4 @@ inline fpsimd_context* GetFloatingPointState(mcontext_t& host_ctx) {
|
||||||
return reinterpret_cast<fpsimd_context*>(header);
|
return reinterpret_cast<fpsimd_context*>(header);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue