forked from eden-emu/eden
[nce] more annoying syscalls and stuff
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
bb8782fff1
commit
b72a98c807
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <sys/syscall.h>
|
#include <sys/syscall.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <pthread.h>
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
|
|
||||||
#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);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
inline fpsimd_context* GetFloatingPointState(mcontext_t& host_ctx) {
|
inline fpsimd_context* GetFloatingPointState(mcontext_t& host_ctx) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue