diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-04-16 21:19:00 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-04-16 21:19:00 +0300 |
commit | b83e6fe1ad970c4b3192e6fdc834642cd5cde80c (patch) | |
tree | 8d0944dae60c3fe9d89902e47d78a99b64c04dbf /mysys/my_pthread.c | |
parent | 667da1396b5a20ad7b4ba94136e47e64b6368daa (diff) | |
download | mariadb-git-b83e6fe1ad970c4b3192e6fdc834642cd5cde80c.tar.gz |
Small fix for HP-UX 10.20 with DCE threads
Also --with-libwrap is tested on Linux just fine.
configure.in:
Small fix for HP-UX 10.20 with DCE threads
include/my_pthread.h:
Small fix for HP-UX 10.20 with DCE threads
mysys/my_pthread.c:
Small fix for HP-UX 10.20 with DCE threads
Diffstat (limited to 'mysys/my_pthread.c')
-rw-r--r-- | mysys/my_pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c index 8c6b366e9b1..72409b6aa86 100644 --- a/mysys/my_pthread.c +++ b/mysys/my_pthread.c @@ -412,7 +412,7 @@ int my_pthread_cond_init(pthread_cond_t *mp, const pthread_condattr_t *attr) /* Change functions on HP to work according to POSIX */ -#ifdef HAVE_DEC_THREADS +#ifdef HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT #undef pthread_cond_timedwait int my_pthread_cond_timedwait(pthread_cond_t *cond, @@ -422,7 +422,7 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, int error=pthread_cond_timedwait(cond,mutex,abstime); return error == EAGAIN ? ETIMEDOUT : error; } -#endif /* HAVE_DEC_THREADS */ +#endif /* HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT */ /* Emulate SOLARIS style calls, not because it's better, but just to make the |