Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / boost-1.71-pthread-gcc-11.patch
1 --- boost_ref/boost/thread/pthread/thread_data.hpp      2022-12-23 09:54:35.643656004 +0100
2 +++ boost_dev/boost/thread/pthread/thread_data.hpp      2022-12-23 10:04:30.775631054 +0100
3 @@ -57,7 +57,7 @@
4  #else
5            std::size_t page_size = ::sysconf( _SC_PAGESIZE);
6  #endif
7 -#if PTHREAD_STACK_MIN > 0
8 +#ifdef PTHREAD_STACK_MIN
9            if (size<PTHREAD_STACK_MIN) size=PTHREAD_STACK_MIN;
10  #endif
11            size = ((size+page_size-1)/page_size)*page_size;