summaryrefslogtreecommitdiff
path: root/mysys/my_pthread.c
diff options
context:
space:
mode:
authormonty@work.mysql.com <>2002-08-13 23:46:10 +0200
committermonty@work.mysql.com <>2002-08-13 23:46:10 +0200
commitf0a33cd947a1f06dc6e8062632e2fb4507ad9333 (patch)
tree8215cdaaaf84f59e9c3c8ec910f99f4d9e6133f5 /mysys/my_pthread.c
parent545f61615422d45aefd19d6332eb1ef2ec9005e4 (diff)
downloadmariadb-git-f0a33cd947a1f06dc6e8062632e2fb4507ad9333.tar.gz
Added missing undef that caused infinite recursion on HPUX
Diffstat (limited to 'mysys/my_pthread.c')
-rw-r--r--mysys/my_pthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c
index cb37fe7c73f..e10a8dec480 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -443,6 +443,7 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
pthread_mutex_trylock returns 1 on success, not 0 like
pthread_mutex_lock
*/
+#undef pthread_mutex_trylock
int my_pthread_mutex_trylock(pthread_mutex_t *mutex)
{