summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2007-07-30 20:40:49 +0200
committerunknown <kent@mysql.com/kent-amd64.(none)>2007-07-30 20:40:49 +0200
commit8d0526a82df90407578dfac4d57321d03f65a6f6 (patch)
tree661d0f210a6abccaa6cc29e9fc910217c911bde5 /mysys
parent947e42af5596e81c3941f3016d880dccd7115343 (diff)
downloadmariadb-git-8d0526a82df90407578dfac4d57321d03f65a6f6.tar.gz
my_pthread.c:
Backport of correction for Mac OS X build problem, global variable not initiated is "common" and can't be used in shared libraries, unless special flags are used (bug#26218) mysys/my_pthread.c: Backport of correction for Mac OS X build problem, global variable not initiated is "common" and can't be used in shared libraries, unless special flags are used (bug#26218)
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c
index 14ba6aabf0e..50c0a82d2d8 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -30,7 +30,7 @@
#define SCHED_POLICY SCHED_OTHER
#endif
-uint thd_lib_detected;
+uint thd_lib_detected= 0;
#ifndef my_pthread_setprio
void my_pthread_setprio(pthread_t thread_id,int prior)