diff options
author | wm4 <wm4@nowhere> | 2020-03-19 00:11:23 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-03-19 00:11:23 +0100 |
commit | 433c9a90a5b89151217cbe5c596f4fad6580d704 (patch) | |
tree | b52dba80eca0d1d007dd4580f136e00a2bd95def /osdep/win32/include/pthread.h | |
parent | 0b9ed9c2744ada1eefc1f254c5f3ade6c626ed72 (diff) | |
download | mpv-433c9a90a5b89151217cbe5c596f4fad6580d704.tar.bz2 mpv-433c9a90a5b89151217cbe5c596f4fad6580d704.tar.xz |
win32: pthread: define PTHREAD_MUTEX_ERRORCHECK
mpv uses it now. Doesn't need to do anything.
Diffstat (limited to 'osdep/win32/include/pthread.h')
-rw-r--r-- | osdep/win32/include/pthread.h | 1 |
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, |