[vlc-devel] [PATCH v2 01/18] android/thread: Remove monotonic clock checks

Dennis Hamester dennis.hamester at startmail.com
Mon Mar 13 11:11:35 CET 2017


These checks are unnecessary since 6f3e18d534, because the calls to
pthread_condattr_setclock and pthread_cond_timedwait_monotonic_np have
been removed.
---
 src/android/thread.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/android/thread.c b/src/android/thread.c
index af74a64292..fcffd7a827 100644
--- a/src/android/thread.c
+++ b/src/android/thread.c
@@ -42,10 +42,6 @@
 #include <pthread.h>
 #include <sched.h>
 
-#if !defined(HAVE_PTHREAD_CONDATTR_SETCLOCK) && !defined(HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC_NP)
-#error no pthread monotonic clock support
-#endif
-
 /* debug */
 
 #ifndef NDEBUG
-- 
2.12.0



More information about the vlc-devel mailing list