diff options
author | unknown <monty@mysql.com> | 2005-10-14 11:44:46 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-10-14 11:44:46 +0300 |
commit | 91afe31fe06e027fb4dd981b1953fc5b06a6b5e5 (patch) | |
tree | 12cfdee079a5db56e368e2c2e53eb2458924c4f4 /VC++Files | |
parent | 7ec9653938aab3e4cf480d69694bbb7f78557e08 (diff) | |
download | mariadb-git-91afe31fe06e027fb4dd981b1953fc5b06a6b5e5.tar.gz |
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
Diffstat (limited to 'VC++Files')
-rw-r--r-- | VC++Files/test1/mysql_thr.c | 2 | ||||
-rw-r--r-- | VC++Files/thr_test/thr_test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/VC++Files/test1/mysql_thr.c b/VC++Files/test1/mysql_thr.c index de1d936806e..a1ac09f2784 100644 --- a/VC++Files/test1/mysql_thr.c +++ b/VC++Files/test1/mysql_thr.c @@ -33,7 +33,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()
diff --git a/VC++Files/thr_test/thr_test.c b/VC++Files/thr_test/thr_test.c index 100fcb9c45e..efb9ea27ba7 100644 --- a/VC++Files/thr_test/thr_test.c +++ b/VC++Files/thr_test/thr_test.c @@ -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() |