[vlc-devel] [PATCH] Fix build for Android
Jean-Baptiste Kempf
jb at videolan.org
Sat May 28 19:07:55 CEST 2016
On 28/05/2016 17:39, Andrey Gursky wrote:
> ---
> src/linux/thread.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/linux/thread.c b/src/linux/thread.c
> index 617bd5f..db38cae 100644
> --- a/src/linux/thread.c
> +++ b/src/linux/thread.c
> @@ -50,7 +50,7 @@ unsigned long vlc_thread_id(void)
> static int sys_futex(void *addr, int op, int val, const struct timespec *to,
> void *addr2, int val3)
> {
> - return syscall(SYS_futex, addr, op, val, to, addr2, val3);
> + return syscall(__NR_futex, addr, op, val, to, addr2, val3);
> }
>
> static int vlc_futex_wake(void *addr, int nr)
>
LGTM and works for me.
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list