Restore tkill for LP32.

libmono from Unity still requires tkill(2).

Change-Id: I37a1994b08086c7fedb5c78ea0dadf2d72bc1463
Signed-off-by: Anthony King <anthonydking@slimroms.net>
This commit is contained in:
Anthony King
2014-05-24 16:47:14 +00:00
committed by Elliott Hughes
parent d4f37110ce
commit 001707363d

View File

@@ -222,4 +222,9 @@ extern "C" int __futex_wait(volatile void* ftx, int value, const struct timespec
return __futex(ftx, FUTEX_WAIT, value, timeout);
}
// Unity's libmono uses this.
extern "C" int tkill(pid_t tid, int sig) {
return syscall(__NR_tkill, tid, sig);
}
#endif