Commit 12ddb5f7 authored by unknown's avatar unknown
Browse files

thd_lib_detected moved so that it is correctly declared as a data

section symbol and not a common symbol on gcc 4.0.1 on darwin 8.8.0
PowerPC MacOS X 10.4.8


mysys/my_pthread.c:
  thd_lib_detected moved to my_thr_init.c
mysys/my_thr_init.c:
  thd_lib_detected moved here so that it is correctly declared as a
  data section symbol and not a common symbol on gcc 4.0.1 on darwin 8.8.0
  PowerPC MacOS X 10.4.8
parent d3c1511a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -29,7 +29,6 @@
#define SCHED_POLICY SCHED_OTHER
#endif

uint thd_lib_detected;

#ifndef my_pthread_setprio
void my_pthread_setprio(pthread_t thread_id,int prior)
+2 −0
Original line number Diff line number Diff line
@@ -47,6 +47,8 @@ pthread_mutexattr_t my_fast_mutexattr;
pthread_mutexattr_t my_errorcheck_mutexattr;
#endif

uint thd_lib_detected;

#ifdef NPTL_PTHREAD_EXIT_BUG /* see my_pthread.h */

/*