Use pthread_cond_timedwait_monotonic on Android.

This commit is contained in:
Tobias Brunner
2009-12-23 17:03:41 +01:00
parent 01e606546c
commit b2944d71ca
3 changed files with 11 additions and 2 deletions
+2
View File
@@ -304,6 +304,8 @@ AC_TRY_RUN(
)
dnl check if we actually are able to configure attributes on cond vars
AC_CHECK_FUNCS(pthread_condattr_init)
dnl instead of pthread_condattr_setclock Android has this function
AC_CHECK_FUNCS(pthread_cond_timedwait_monotonic)
dnl check if native rwlocks are available
AC_CHECK_FUNCS(pthread_rwlock_init)
LIBS=$saved_LIBS