diff options
author | monty@donna.mysql.com <> | 2000-09-07 23:58:43 +0300 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-09-07 23:58:43 +0300 |
commit | 11c7092c301865f6e7571a7b9c84605c74451426 (patch) | |
tree | 10e56364ce6757d09940fcf5af704e48484c9b00 /mysys/thr_rwlock.c | |
parent | 71b1a2990a8d1a05d0c5f84322df2144586ddb2d (diff) | |
download | mariadb-git-11c7092c301865f6e7571a7b9c84605c74451426.tar.gz |
Small portability fixes
Diffstat (limited to 'mysys/thr_rwlock.c')
-rw-r--r-- | mysys/thr_rwlock.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mysys/thr_rwlock.c b/mysys/thr_rwlock.c index dfa9065ff3a..37630956e7f 100644 --- a/mysys/thr_rwlock.c +++ b/mysys/thr_rwlock.c @@ -65,13 +65,8 @@ int my_rwlock_init( rw_lock_t *rwp, void *arg __attribute__((unused))) pthread_mutex_init( &rwp->lock, NULL ); pthread_condattr_init( &cond_attr ); -#ifdef HAVE_PTHREAD_CONDATTR_CREATE /* HPUX 11.0 */ - pthread_cond_init( &rwp->readers, cond_attr ); - pthread_cond_init( &rwp->writers, cond_attr ); -#else pthread_cond_init( &rwp->readers, &cond_attr ); pthread_cond_init( &rwp->writers, &cond_attr ); -#endif pthread_condattr_destroy(&cond_attr); rwp->state = 0; |