aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/compat/pthread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/compat/pthread.h b/include/compat/pthread.h
index 1527d3c..223ad83 100755
--- a/include/compat/pthread.h
+++ b/include/compat/pthread.h
@@ -102,6 +102,13 @@ pthread_mutex_unlock(pthread_mutex_t *mutex)
102 return 0; 102 return 0;
103} 103}
104 104
105static inline int
106pthread_mutex_destroy(pthread_mutex_t *mutex)
107{
108 DeleteCriticalSection(mutex->lock);
109 return 0;
110}
111
105#else 112#else
106#include_next <pthread.h> 113#include_next <pthread.h>
107#endif 114#endif