Commit 02bf8ff2 authored by Dennis Hamester's avatar Dennis Hamester Committed by Rémi Denis-Courmont
Browse files

android/thread: Remove monotonic clock checks

These checks are unnecessary since 6f3e18d5

, because the calls to
pthread_condattr_setclock and pthread_cond_timedwait_monotonic_np have
been removed.
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent d0b92b9b
...@@ -588,7 +588,7 @@ dnl Check for system libs needed ...@@ -588,7 +588,7 @@ dnl Check for system libs needed
need_libc=false need_libc=false
dnl Check for usual libc functions dnl Check for usual libc functions
AC_CHECK_FUNCS([daemon fcntl flock fstatvfs fork getenv getpwuid_r isatty lstat memalign mkostemp mmap open_memstream openat pread posix_fadvise posix_madvise setlocale stricmp strnicmp strptime tdestroy uselocale pthread_cond_timedwait_monotonic_np pthread_condattr_setclock]) AC_CHECK_FUNCS([daemon fcntl flock fstatvfs fork getenv getpwuid_r isatty lstat memalign mkostemp mmap open_memstream openat pread posix_fadvise posix_madvise setlocale stricmp strnicmp strptime tdestroy uselocale])
AC_REPLACE_FUNCS([atof atoll dirfd fdopendir ffsll flockfile fsync getdelim getpid lldiv memrchr nrand48 poll posix_memalign recvmsg rewind sendmsg setenv strcasecmp strcasestr strdup strlcpy strndup strnlen strnstr strsep strtof strtok_r strtoll swab tfind timegm timespec_get strverscmp]) AC_REPLACE_FUNCS([atof atoll dirfd fdopendir ffsll flockfile fsync getdelim getpid lldiv memrchr nrand48 poll posix_memalign recvmsg rewind sendmsg setenv strcasecmp strcasestr strdup strlcpy strndup strnlen strnstr strsep strtof strtok_r strtoll swab tfind timegm timespec_get strverscmp])
AC_REPLACE_FUNCS([gettimeofday]) AC_REPLACE_FUNCS([gettimeofday])
AC_CHECK_FUNC(fdatasync,, AC_CHECK_FUNC(fdatasync,,
......
...@@ -42,10 +42,6 @@ ...@@ -42,10 +42,6 @@
#include <pthread.h> #include <pthread.h>
#include <sched.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 */ /* debug */
#ifndef NDEBUG #ifndef NDEBUG
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment