mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
allow build with ENABLE_JIT=ON on OpenBSD Targets
This commit is contained in:
parent
a72b79a55a
commit
c2b2dc70b6
@ -82,6 +82,8 @@
|
||||
#define CONTEXT_PC uc_mcontext.mc_rip
|
||||
#elif defined(__NetBSD__)
|
||||
#define CONTEXT_PC uc_mcontext.__gregs[_REG_RIP]
|
||||
#elif defined(_OpenBSD__)
|
||||
#define CONTEXT_PC sc_rip
|
||||
#endif
|
||||
#elif defined(__aarch64__)
|
||||
#if defined(_WIN32)
|
||||
@ -94,6 +96,8 @@
|
||||
#define CONTEXT_PC uc_mcontext.mc_gpregs.gp_elr
|
||||
#elif defined(__NetBSD__)
|
||||
#define CONTEXT_PC uc_mcontext.__gregs[_REG_PC]
|
||||
#elif defined(_OpenBSD__)
|
||||
#define CONTEXT_PC sc_exr
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user