summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-19 00:11:23 +0100
committerwm4 <wm4@nowhere>2020-03-19 00:11:23 +0100
commit433c9a90a5b89151217cbe5c596f4fad6580d704 (patch)
treeb52dba80eca0d1d007dd4580f136e00a2bd95def
parent0b9ed9c2744ada1eefc1f254c5f3ade6c626ed72 (diff)
downloadmpv-433c9a90a5b89151217cbe5c596f4fad6580d704.tar.bz2
mpv-433c9a90a5b89151217cbe5c596f4fad6580d704.tar.xz
win32: pthread: define PTHREAD_MUTEX_ERRORCHECK
mpv uses it now. Doesn't need to do anything.
-rw-r--r--osdep/win32/include/pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep/win32/include/pthread.h b/osdep/win32/include/pthread.h
index 5157b8e342..6c87949831 100644
--- a/osdep/win32/include/pthread.h
+++ b/osdep/win32/include/pthread.h
@@ -55,6 +55,7 @@ typedef struct {
#define pthread_mutexattr_init(attr) (*(attr) = 0)
#define pthread_mutexattr_settype(attr, type) (*(attr) = (type))
#define PTHREAD_MUTEX_RECURSIVE 1
+#define PTHREAD_MUTEX_ERRORCHECK 2 // unsupported
int pthread_mutex_destroy(pthread_mutex_t *mutex);
int pthread_mutex_init(pthread_mutex_t *restrict mutex,