From eaefcef6e079695e5d9af172124a2aafd7d0ac44 Mon Sep 17 00:00:00 2001 From: Igor Solodovnikov Date: Fri, 15 Jul 2022 15:28:31 +0300 Subject: [PATCH] PSMDB-1084 fix boost issue preventing build on Ubuntu 22.04 the fix is extracted from: https://github.com/boostorg/thread/issues/364 https://github.com/boostorg/thread/pull/297/files --- .../boost-1.70.0/boost/thread/pthread/thread_data.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/third_party/boost-1.70.0/boost/thread/pthread/thread_data.hpp b/src/third_party/boost-1.70.0/boost/thread/pthread/thread_data.hpp index 588e997f89449..f062f843ca783 100644 --- a/src/third_party/boost-1.70.0/boost/thread/pthread/thread_data.hpp +++ b/src/third_party/boost-1.70.0/boost/thread/pthread/thread_data.hpp @@ -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