Skip to content

Commit

Permalink
Revert change to elide a warning that caused Solaris builds to fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-robb committed Nov 20, 2019
1 parent 1eb8efb commit 74fb0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/thread/pthread/thread_data.hpp
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 74fb0a2

Please sign in to comment.