mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 06:37:42 +01:00
SF [1954327] CYGWIN's pthread does not define PTHREAD_STACK_MIN
This commit is contained in:
parent
5a7aeb4960
commit
be2ebf2197
@ -151,8 +151,10 @@ int ThreadImpl::getMaxOSPriorityImpl()
|
||||
|
||||
void ThreadImpl::setStackSizeImpl(int size)
|
||||
{
|
||||
#ifndef POCO_OS_CYGWIN
|
||||
if (size !=0 && size < PTHREAD_STACK_MIN)
|
||||
size = PTHREAD_STACK_MIN;
|
||||
#endif
|
||||
|
||||
_pData->stackSize = size;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user