diff options
author | Zoltan Varga <vargaz@gmail.com> | 2017-06-29 08:02:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-29 08:02:53 +0300 |
commit | 616ea50718aba3af237637f77d9c58acdca9a61f (patch) | |
tree | 9da017239274914a755233474d79a529f81f8964 /configure.ac | |
parent | 6d88df8d824a0813093ec0e7ef586cd62920466a (diff) |
[runtime] Use pthread_cond_timedwait_relative_np () function on osx if available. (#5143)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index a61341e306f..b14ee03463c 100644 --- a/configure.ac +++ b/configure.ac @@ -1956,7 +1956,7 @@ if test x$host_win32 = xno; then AC_CHECK_HEADERS(pthread.h) AC_CHECK_HEADERS(pthread_np.h) AC_CHECK_FUNCS(pthread_mutex_timedlock) - AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np pthread_setname_np) + AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np pthread_setname_np pthread_cond_timedwait_relative_np) AC_CHECK_FUNCS(pthread_kill) AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE) AC_TRY_COMPILE([ #include <pthread.h>], [ |