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
1 changed files with 1 additions and 0 deletions

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,