[vlc-commits] Fix build for Android

Andrey Gursky git at videolan.org
Sun May 29 18:28:39 CEST 2016


vlc | branch: master | Andrey Gursky <andrey.gursky at e-mail.ua> | Sat May 28 17:39:30 2016 +0200| [03a49a292292a0d29aefe6baab8ba3a2c750de9b] | committer: Jean-Baptiste Kempf

Fix build for Android

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03a49a292292a0d29aefe6baab8ba3a2c750de9b
---

 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)



More information about the vlc-commits mailing list