mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Remove preprocessor if statement to set min stack size in android (#2035)
This commit is contained in:
parent
a07c33aaae
commit
9a688250ac
@ -173,10 +173,8 @@ void ThreadImpl::setStackSizeImpl(int size)
|
||||
const int STACK_PAGE_SIZE = 4096;
|
||||
size = ((size + STACK_PAGE_SIZE - 1)/STACK_PAGE_SIZE)*STACK_PAGE_SIZE;
|
||||
#endif
|
||||
#if !defined(POCO_ANDROID)
|
||||
if (size < PTHREAD_STACK_MIN)
|
||||
size = PTHREAD_STACK_MIN;
|
||||
#endif
|
||||
}
|
||||
_pData->stackSize = size;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user