summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorgkodinov/kgeorge@macbook.gmz <>2007-02-12 16:02:53 +0200
committergkodinov/kgeorge@macbook.gmz <>2007-02-12 16:02:53 +0200
commit35a84c0aa6290e44f77282ebee17c586e87baa9d (patch)
treee87a90a007da676937550e207b5fd0ab1b054b30 /mysys
parent47e537b47c81eeda96633c4693a4befce7a43a9d (diff)
downloadmariadb-git-35a84c0aa6290e44f77282ebee17c586e87baa9d.tar.gz
Fixed MacOSX/Intel linking problem
Common symbols with and without initialization cause the apple linker to exclude then from the list of global symbols.
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 b9da9d4817a..0422e0c6512 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -29,7 +29,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)