mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
android: atomic: do not test SYS_futex_waitv syscall
This commit is contained in:
parent
cac068dad9
commit
919cb8e05c
1 changed files with 5 additions and 3 deletions
|
@ -33,10 +33,12 @@ static bool has_waitv()
|
||||||
{
|
{
|
||||||
static const bool s_has_waitv = []
|
static const bool s_has_waitv = []
|
||||||
{
|
{
|
||||||
|
#ifndef ANDROID
|
||||||
|
// FIXME: it produces SIGSYS signal
|
||||||
syscall(SYS_futex_waitv, 0, 0, 0, 0, 0);
|
syscall(SYS_futex_waitv, 0, 0, 0, 0, 0);
|
||||||
if (errno == ENOSYS)
|
return errno != ENOSYS;
|
||||||
return false;
|
#endif
|
||||||
return true;
|
return false;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
return s_has_waitv;
|
return s_has_waitv;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue