diff --git a/Foundation/src/Thread_POSIX.cpp b/Foundation/src/Thread_POSIX.cpp index b06c78783..9544ee56f 100644 --- a/Foundation/src/Thread_POSIX.cpp +++ b/Foundation/src/Thread_POSIX.cpp @@ -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