summaryrefslogtreecommitdiff
path: root/mysys/my_pthread.c
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@macbook.gmz>2007-02-12 16:02:53 +0200
committerunknown <gkodinov/kgeorge@macbook.gmz>2007-02-12 16:02:53 +0200
commite307a46caf50fcce16ae0e3474adb5f4df21c644 (patch)
treee87a90a007da676937550e207b5fd0ab1b054b30 /mysys/my_pthread.c
parent2572c82621b04cb852b29736f835bcb204f5bfc0 (diff)
downloadmariadb-git-e307a46caf50fcce16ae0e3474adb5f4df21c644.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/my_pthread.c')
-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)