summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-02-25 21:43:24 +0200
committerunknown <monty@narttu.mysql.fi>2003-02-25 21:43:24 +0200
commita54c17cef319e5b31dfb7569929efefbe421f60b (patch)
treeef16fe4c8cc302b682517ba6fafcda8da6d043e7 /include/my_pthread.h
parentbaa0238c9465171c6886add1738dbaadc9ae8b3f (diff)
downloadmariadb-git-a54c17cef319e5b31dfb7569929efefbe421f60b.tar.gz
Portability fix for HPUX10.20
BUILD/compile-pentium-debug-max: Added -DBIG_TABLES sql/mysqld.cc: Simple code cleanup
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 574198a0645..a7fa38349dc 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -443,6 +443,11 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
struct timespec *abstime);
#endif
+#if defined(HPUX10)
+#define pthread_attr_getstacksize(A,B) my_pthread_attr_getstacksize(A,B)
+void my_pthread_attr_getstacksize(pthread_attr_t *attrib, size_t *size);
+#endif
+
#if defined(HAVE_POSIX1003_4a_MUTEX) && !defined(DONT_REMAP_PTHREAD_FUNCTIONS)
#undef pthread_mutex_trylock
#define pthread_mutex_trylock(a) my_pthread_mutex_trylock((a))