1 Taken from https://github.com/conan-io/conan-center-index/pull/361/files
3 diff --git a/include/boost/thread/pthread/thread_data.hpp b/include/boost/thread/pthread/thread_data.hpp
4 index aefbeb4..bc9b136 100644
5 --- a/boost/thread/pthread/thread_data.hpp
6 +++ b/boost/thread/pthread/thread_data.hpp
7 @@ -57,7 +57,7 @@ namespace boost
9 std::size_t page_size = ::sysconf( _SC_PAGESIZE);
11 -#if PTHREAD_STACK_MIN > 0
12 +#ifdef PTHREAD_STACK_MIN
13 if (size<PTHREAD_STACK_MIN) size=PTHREAD_STACK_MIN;
15 size = ((size+page_size-1)/page_size)*page_size;