From c5bb750f0b509c2dc30e33b9c51d01e939d777be Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 4 Apr 2007 11:41:43 +0200 Subject: Portability fix to work around OS X -x86 toolchain bug with common (uninitialized data) symbols mysys/my_pthread.c: Initialize thd_lib_detected for portability (OS X -x86) --- mysys/my_pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysys/my_pthread.c') diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c index d8182b67442..aba3e47d754 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) -- cgit v1.2.1