summaryrefslogtreecommitdiff
path: root/mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'mutex.c')
-rw-r--r--mutex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mutex.c b/mutex.c
index 72847d5..85fdab4 100644
--- a/mutex.c
+++ b/mutex.c
@@ -835,6 +835,10 @@ pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *abstime)
int result = 0;
pthread_mutex_t mx;
+#ifdef NEED_SEM
+ errno = ENOTSUP;
+ return -1;
+#endif
if (mutex == NULL || *mutex == NULL)
{