From 4e841bcc1010f8dd36031c57460908c368c5cb9f Mon Sep 17 00:00:00 2001 From: Bryan Ischo Date: Thu, 14 Aug 2008 12:14:46 +0000 Subject: * Support GNUTLS on Windows. But - it doesn't work. Maybe my GNUTLS library is too old? Since openssl does work, I expect that I will branch this and revert. --- inc/mingw/pthread.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inc') diff --git a/inc/mingw/pthread.h b/inc/mingw/pthread.h index b1bd419..674a62a 100644 --- a/inc/mingw/pthread.h +++ b/inc/mingw/pthread.h @@ -37,9 +37,9 @@ typedef struct CRITICAL_SECTION criticalSection; } pthread_mutex_t; -void pthread_mutex_init(pthread_mutex_t *mutex, void *); -void pthread_mutex_lock(pthread_mutex_t *mutex); -void pthread_mutex_unlock(pthread_mutex_t *mutex); -void pthread_mutex_destroy(pthread_mutex_t *mutex); +int pthread_mutex_init(pthread_mutex_t *mutex, void *); +int pthread_mutex_lock(pthread_mutex_t *mutex); +int pthread_mutex_unlock(pthread_mutex_t *mutex); +int pthread_mutex_destroy(pthread_mutex_t *mutex); #endif /* PTHREAD_H */ -- cgit v1.2.1