aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-03-18 21:17:10 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-03-18 21:17:10 +0000
commit6e6eb242188e8312a6a8a78e6be0d11cd1036610 (patch)
tree02cb09a553f32bb5fbb671528ab900a1636c7bce /configure
parentebce1a511a60f3b4a9785c3962eaa381206c914f (diff)
downloadskalibs-6e6eb242188e8312a6a8a78e6be0d11cd1036610.tar.gz
MacOS doesn't have pthread_mutex_timedlock -_-
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 7905631..dd00e76 100755
--- a/configure
+++ b/configure
@@ -722,7 +722,8 @@ choose cl prctl 'prctl()'
choose cl procctl 'procctl()'
choose cl kevent 'kevent()'
choose cl kqueue1 'kqueue1()'
-choose cl pthreadmutexclocklock 'pthread_mutex_clocklock()'
+choose cl pthreadmutextimedlock 'pthread_mutex_timedlock()' $pthread_lib
+choose cl pthreadmutexclocklock 'pthread_mutex_clocklock()' $pthread_lib
# Here are the evil irreducible run-time sysdeps.
choose clr devurandom '/dev/urandom'