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