summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@work.mysql.com>2002-08-13 23:46:10 +0200
committerunknown <monty@work.mysql.com>2002-08-13 23:46:10 +0200
commit303e430042bd21bbadf484cfa908ffa79b169635 (patch)
tree8215cdaaaf84f59e9c3c8ec910f99f4d9e6133f5
parent2ae0e1c428d2ff8156857bdf330d47a03f8d4694 (diff)
downloadmariadb-git-303e430042bd21bbadf484cfa908ffa79b169635.tar.gz
Added missing undef that caused infinite recursion on HPUX
-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)
{