mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-11-30 02:00:43 +00:00
fix ifdef to use HAS_SYSCALL_TGKILL for tgkill as it was intented
This commit is contained in:
parent
5fd8fdbf5c
commit
fd5bfd9e40
@ -61,7 +61,7 @@ inline int32_t gettid() {
|
||||
}
|
||||
|
||||
inline int32_t tgkill(pid_t tgid, pid_t tid, int sig) {
|
||||
#if defined(HAS_SYSCALL_GETTID) && HAS_SYSCALL_GETTID
|
||||
#if defined(HAS_SYSCALL_TGKILL) && HAS_SYSCALL_TGKILL
|
||||
return ::tgkill(tgid, tid, sig);
|
||||
#else
|
||||
return ::syscall(SYS_tgkill, tgid, tid, sig);
|
||||
|
Loading…
Reference in New Issue
Block a user