From 433c9a90a5b89151217cbe5c596f4fad6580d704 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 19 Mar 2020 00:11:23 +0100 Subject: [PATCH] win32: pthread: define PTHREAD_MUTEX_ERRORCHECK mpv uses it now. Doesn't need to do anything. --- osdep/win32/include/pthread.h | 1 + 1 file changed, 1 insertion(+) 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,