diff options
author | unknown <monty@narttu.mysql.fi> | 2003-02-25 21:43:24 +0200 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-02-25 21:43:24 +0200 |
commit | a54c17cef319e5b31dfb7569929efefbe421f60b (patch) | |
tree | ef16fe4c8cc302b682517ba6fafcda8da6d043e7 /mysys/my_pthread.c | |
parent | baa0238c9465171c6886add1738dbaadc9ae8b3f (diff) | |
download | mariadb-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 'mysys/my_pthread.c')
-rw-r--r-- | mysys/my_pthread.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c index 0de7041fae7..7ad4852558e 100644 --- a/mysys/my_pthread.c +++ b/mysys/my_pthread.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 MySQL AB +/* Copyright (C) 2000-2003 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -393,6 +393,7 @@ int pthread_signal(int sig, void (*func)()) #undef pthread_cond_wait #undef pthread_cond_timedwait #undef pthread_cond_t +#undef pthread_attr_getstacksize /***************************************************************************** ** Patches for AIX and DEC OSF/1 3.2 @@ -465,6 +466,15 @@ int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, } #endif +#if defined(HPUX10) + +void my_pthread_attr_getstacksize(pthread_attr_t *connection_attrib, + size_t *stack_size) +{ + *stack_size= pthread_attr_getstacksize(*connection_attrib); +} +#endif + #ifdef HAVE_POSIX1003_4a_MUTEX /* |