diff options
-rw-r--r-- | include/my_pthread.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index cd0cf49a891..40154f5b8d8 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -631,6 +631,7 @@ extern int pthread_dummy(int); /* All thread specific variables are in the following struct */ #define THREAD_NAME_SIZE 10 +#ifndef DEFAULT_THREAD_STACK #if defined(__ia64__) /* MySQL can survive with 32K, but some glibc libraries require > 128K stack @@ -638,7 +639,8 @@ extern int pthread_dummy(int); */ #define DEFAULT_THREAD_STACK (192*1024L) #else -#define DEFAULT_THREAD_STACK (192*1024) +#define DEFAULT_THREAD_STACK (192*1024L) +#endif #endif struct st_my_thread_var |