]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/folly/boost-1.70.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / folly / boost-1.70.patch
1 diff --git a/folly/portability/PThread.cpp b/folly/portability/PThread.cpp
2 index 2126ec0..ef82ade 100644
3 --- a/folly/portability/PThread.cpp
4 +++ b/folly/portability/PThread.cpp
5 @@ -20,6 +20,8 @@
6 #include <boost/thread/exceptions.hpp>
7 #include <boost/thread/tss.hpp>
8 #include <boost/version.hpp>
9 +#include <boost/shared_ptr.hpp>
10 +#include <boost/thread/thread_only.hpp>
11
12 #include <errno.h>
13
14 @@ -691,7 +693,7 @@ int pthread_setspecific(pthread_key_t key, const void* value) {
15 boost::detail::thread::cleanup_caller_t(),
16 boost::detail::thread::cleanup_func_t(),
17 #else
18 - boost::shared_ptr<boost::detail::tss_cleanup_function>(),
19 + 0,0,
20 #endif
21 const_cast<void*>(value),
22 false);