summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/my_winthread.c
diff options
context:
space:
mode:
authorMySQL Team <mysql@php.net>2001-06-01 20:07:26 +0000
committerMySQL Team <mysql@php.net>2001-06-01 20:07:26 +0000
commite8cbbc0637cb27c6fda64940a9138e08060475f8 (patch)
treef6353232aba5ae05c8f4779865cd742dc392b181 /ext/mysql/libmysql/my_winthread.c
parent304ac03be434eecf6edc1f025c455e9089f8af37 (diff)
downloadphp-git-e8cbbc0637cb27c6fda64940a9138e08060475f8.tar.gz
Upgrade ext/mysql/libmysql to version 3.23.39. No major changes -
portability fixes. Also add configure test for HAVE_INT_8_16_32 which should solve compilation problems on AIX.
Diffstat (limited to 'ext/mysql/libmysql/my_winthread.c')
-rw-r--r--ext/mysql/libmysql/my_winthread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mysql/libmysql/my_winthread.c b/ext/mysql/libmysql/my_winthread.c
index 675ff54cfc..5d06b698ee 100644
--- a/ext/mysql/libmysql/my_winthread.c
+++ b/ext/mysql/libmysql/my_winthread.c
@@ -1,4 +1,5 @@
-/* Copyright Abandoned. Public domain, no warranty, etc. */
+/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
+This file is public domain and comes with NO WARRANTY of any kind */
/*****************************************************************************
** Simulation of posix threads calls for WIN95 and NT
@@ -24,7 +25,7 @@ struct pthread_map
void win_pthread_init(void)
{
- pthread_mutex_init(&THR_LOCK_thread,NULL);
+ pthread_mutex_init(&THR_LOCK_thread,MY_MUTEX_INIT_FAST);
}
/*