Browse Source

[dynarmic] fix NetBSD builds on gcc14

Signed-off-by: lizzie <lizzie@eden-emu.dev>
lizzie/netbsdgcc14-fix
lizzie 3 months ago
parent
commit
047419f4fd
  1. 4
      src/dynarmic/src/dynarmic/common/context.h

4
src/dynarmic/src/dynarmic/common/context.h

@ -67,9 +67,7 @@
#else #else
# define CTX_SP (_UC_MACHINE_SP(ucontext)) # define CTX_SP (_UC_MACHINE_SP(ucontext))
#endif #endif
#endif
#if defined(ARCHITECTURE_arm64)
#elif defined(ARCHITECTURE_arm64)
# if defined(__APPLE__) # if defined(__APPLE__)
# define CTX_PC (mctx->__ss.__pc) # define CTX_PC (mctx->__ss.__pc)
# define CTX_SP (mctx->__ss.__sp) # define CTX_SP (mctx->__ss.__sp)

Loading…
Cancel
Save