Skip to content

Commit

Permalink
Another attempt at fixing non-Dynarec builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Jan 11, 2025
1 parent 32c646d commit 0c5e6d8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/libtools/signals.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c5e6d8

Please sign in to comment.