[nce] fix multiarch

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-09-03 18:49:43 +00:00 committed by crueter
parent a2a77982da
commit e390b5790e
Signed by untrusted user: crueter
GPG key ID: 425ACD2D4830EBC6

View file

@ -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