summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-12-17 15:00:14 +0200
committerunknown <monty@hundin.mysql.fi>2001-12-17 15:00:14 +0200
commit1af1c70d711d1934dad41cec1d5dc55c4fdb4d71 (patch)
tree7f95675b3decc36faca63e90ee99ac223133c290 /include/my_pthread.h
parent640bd5699ca01d1ab7408759f413d95085b204ae (diff)
downloadmariadb-git-1af1c70d711d1934dad41cec1d5dc55c4fdb4d71.tar.gz
Portability fixes
include/my_pthread.h: Fix for HPUX mysql-test/mysql-test-run.sh: Wait for socket instead of pid file mysys/my_static.c: Portability fix (for OSF1) mysys/raid.cc: Portability fix (for OSF1) sql/mysqld.cc: Fixed typo for FreeBSD. strings/bcmp.c: Fix for purify
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index bee5f5d92f4..e6cd039c80e 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -448,6 +448,8 @@ struct hostent *my_gethostbyname_r(const char *name,
#if defined(HPUX) && !defined(DONT_REMAP_PTHREAD_FUNCTIONS)
#define pthread_cond_timedwait(a,b,c) my_pthread_cond_timedwait((a),(b),(c))
+int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
+ struct timespec *abstime);
#endif
/* safe_mutex adds checking to mutex for easier debugging */