diff --git a/src/jrd/ThreadStart.cpp b/src/jrd/ThreadStart.cpp index 877496eec0..74908a0aad 100644 --- a/src/jrd/ThreadStart.cpp +++ b/src/jrd/ThreadStart.cpp @@ -181,14 +181,14 @@ void ThreadStart::start(ThreadEntryPoint* routine, if (state) Firebird::system_call_failed::raise("pthread_attr_init", state); -#if defined(_AIX) || defined(DARWIN) +#if defined(_AIX) || defined(DARWIN) || defined (HPUX) // adjust stack size // For AIX 32-bit compiled applications, the default stacksize is 96 KB, // see . For 64-bit compiled applications, the default stacksize -// is 192 KB. This is too small - see HP-UX note above - -// For MaxOS default stack is 512 KB, which is also too small in 2012. +// is 192 KB. This is too small. +// For MacOS default stack is 512 KB (2012). +// For HPUX its 64 KB on PA, 256 KB on Itanium (2015) size_t stack_size; state = pthread_attr_getstacksize(&pattr, &stack_size);