summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
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
commit940ab3e0317ff8ebe0fc791ab83a1718481eabd0 (patch)
tree1933bdd0a172d8a499a8170117178542e3d818fe /include/my_pthread.h
parent336d94bcec2a2e6426d4386e590187104c0211ea (diff)
downloadmariadb-git-940ab3e0317ff8ebe0fc791ab83a1718481eabd0.tar.gz
A small fix for HP-UX when used --with-debug
Diffstat (limited to 'include/my_pthread.h')
-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);