Skip to content

Commit

Permalink
PSMDB-1084 fix boost issue preventing build on Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsol committed Jul 15, 2022
1 parent 09648fc commit fee830b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace boost
#else
std::size_t page_size = ::sysconf( _SC_PAGESIZE);
#endif
#if PTHREAD_STACK_MIN > 0
#ifdef PTHREAD_STACK_MIN
if (size<PTHREAD_STACK_MIN) size=PTHREAD_STACK_MIN;
#endif
size = ((size+page_size-1)/page_size)*page_size;
Expand Down

0 comments on commit fee830b

Please sign in to comment.