mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-09 19:14:08 -06:00
android: atomic: do not test SYS_futex_waitv syscall
This commit is contained in:
parent
cac068dad9
commit
919cb8e05c
@ -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…
Reference in New Issue
Block a user