1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00

win32: pthread: define PTHREAD_MUTEX_ERRORCHECK

mpv uses it now. Doesn't need to do anything.
This commit is contained in:
wm4 2020-03-19 00:11:23 +01:00
parent 0b9ed9c274
commit 433c9a90a5

View File

@ -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,