early-access version 2698
This commit is contained in:
8
externals/libressl/include/compat/pthread.h
vendored
8
externals/libressl/include/compat/pthread.h
vendored
@@ -102,6 +102,14 @@ pthread_mutex_unlock(pthread_mutex_t *mutex)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int
|
||||
pthread_mutex_destroy(pthread_mutex_t *mutex)
|
||||
{
|
||||
DeleteCriticalSection(mutex->lock);
|
||||
free(mutex->lock);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
#include_next <pthread.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user