diff options
author | unknown <antony@ppcg5.local> | 2007-02-06 15:19:01 -0800 |
---|---|---|
committer | unknown <antony@ppcg5.local> | 2007-02-06 15:19:01 -0800 |
commit | 12ddb5f7c27dee26ff06931f4062263ef0e02503 (patch) | |
tree | b1dde06300841f5e2f521be9fa0ea79628c49113 /mysys | |
parent | d3c1511a36f0c82f2aa707d74068d76fe84060bc (diff) | |
download | mariadb-git-12ddb5f7c27dee26ff06931f4062263ef0e02503.tar.gz |
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
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/my_pthread.c | 1 | ||||
-rw-r--r-- | mysys/my_thr_init.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c index b9da9d4817a..49aab9230e8 100644 --- a/mysys/my_pthread.c +++ b/mysys/my_pthread.c @@ -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) diff --git a/mysys/my_thr_init.c b/mysys/my_thr_init.c index 67ab1e4a38a..abacc7bc004 100644 --- a/mysys/my_thr_init.c +++ b/mysys/my_thr_init.c @@ -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 */ /* |