diff options
author | Zoltan Varga <vargaz@gmail.com> | 2017-06-30 06:05:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-30 06:05:00 +0300 |
commit | 27ce7560302b86abce3a38fff2199d986a70bdc3 (patch) | |
tree | 2791a7020c45358a982233404946aacb047b4d4b /configure.ac | |
parent | 51d1c47c8b35d4dd14ee52c67821b06cec596644 (diff) |
[runtime] Use pthread_cond_timedwait_relative_np () function on osx if available. (#5147)
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>], [ |