summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-05-30 15:49:32 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2002-05-30 15:49:32 +0300
commit4e7ca4595d126f87588a7caab299baf3f1ebc55b (patch)
tree1933bdd0a172d8a499a8170117178542e3d818fe
parent702ae31a1afa6a043620b655872a7c41b09fb812 (diff)
downloadmariadb-git-4e7ca4595d126f87588a7caab299baf3f1ebc55b.tar.gz
A small fix for HP-UX when used --with-debug
-rw-r--r--include/my_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 24e73707288..bcad292ecc9 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -349,7 +349,7 @@ extern void my_pthread_attr_setprio(pthread_attr_t *attr, int priority);
#undef HAVE_GETHOSTBYADDR_R /* No definition */
#endif
-#if defined(HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT)
+#if defined(HAVE_BROKEN_PTHREAD_COND_TIMEDWAIT) && !defined(SAFE_MUTEX)
extern int my_pthread_cond_timedwait(pthread_cond_t *cond,
pthread_mutex_t *mutex,
struct timespec *abstime);