summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2002-05-30 15:49:32 +0300
committerSinisa@sinisa.nasamreza.org <>2002-05-30 15:49:32 +0300
commit429aa7459f9890531ad8679ad184d1fc4d1d5dca (patch)
tree1933bdd0a172d8a499a8170117178542e3d818fe /include
parentb088e1bf1f47d2c2e928ca174de62bbc230f6114 (diff)
downloadmariadb-git-429aa7459f9890531ad8679ad184d1fc4d1d5dca.tar.gz
A small fix for HP-UX when used --with-debug
Diffstat (limited to 'include')
-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);