Remove preprocessor if statement to set min stack size in android (#2035)

This commit is contained in:
Joerg-Christian Boehme 2017-12-11 17:51:09 +01:00 committed by Aleksandar Fabijanic
parent a07c33aaae
commit 9a688250ac

View File

@ -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