mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed compile errors on windows
VC++Files/test1/mysql_thr.c: Fixed typo VC++Files/thr_test/thr_test.c: Fixed typo sql/log_event.cc: Removed compiler warning Fixed compile error on windows
This commit is contained in:
@ -44,7 +44,7 @@ typedef CRITICAL_SECTION pthread_mutex_t;
|
||||
#define pthread_mutex_lock(A) (EnterCriticalSection(A),0)
|
||||
#define pthread_mutex_unlock(A) LeaveCriticalSection(A)
|
||||
#define pthread_mutex_destroy(A) DeleteCriticalSection(A)
|
||||
#define pthread_handler_t unsigned __cdecl *
|
||||
#define pthread_handler_t unsigned __cdecl
|
||||
typedef unsigned (__cdecl *pthread_handler)(void *);
|
||||
#define pthread_self() GetCurrentThread()
|
||||
|
||||
|
Reference in New Issue
Block a user