From 0c5e6d867fae9dc2dc58c5c0142a0ef0791d693e Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 11 Jan 2025 13:41:27 +0100 Subject: [PATCH] Another attempt at fixing non-Dynarec builds --- src/libtools/signals.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libtools/signals.c b/src/libtools/signals.c index 085db7984..005e61844 100644 --- a/src/libtools/signals.c +++ b/src/libtools/signals.c @@ -276,6 +276,12 @@ x64_stack_t* sigstack_getstack() { return (x64_stack_t*)pthread_getspecific(sigstack_key); } +#ifndef DYNAREC +typedef void dynablock_t; +dynablock_t* FindDynablockFromNativeAddress(uintptr_t addr) {return NULL;} +uintptr_t getX64Address(dynablock_t* db, uintptr_t pc) {return 0;} +#endif + // this allow handling "safe" function that just abort if accessing a bad address static __thread JUMPBUFF signal_jmpbuf; #ifdef ANDROID