early-access version 2853
This commit is contained in:
22
externals/vcpkg/ports/folly/boost-1.70.patch
vendored
Executable file
22
externals/vcpkg/ports/folly/boost-1.70.patch
vendored
Executable file
@@ -0,0 +1,22 @@
|
||||
diff --git a/folly/portability/PThread.cpp b/folly/portability/PThread.cpp
|
||||
index 2126ec0..ef82ade 100644
|
||||
--- a/folly/portability/PThread.cpp
|
||||
+++ b/folly/portability/PThread.cpp
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <boost/thread/exceptions.hpp>
|
||||
#include <boost/thread/tss.hpp>
|
||||
#include <boost/version.hpp>
|
||||
+#include <boost/shared_ptr.hpp>
|
||||
+#include <boost/thread/thread_only.hpp>
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
@@ -691,7 +693,7 @@ int pthread_setspecific(pthread_key_t key, const void* value) {
|
||||
boost::detail::thread::cleanup_caller_t(),
|
||||
boost::detail::thread::cleanup_func_t(),
|
||||
#else
|
||||
- boost::shared_ptr<boost::detail::tss_cleanup_function>(),
|
||||
+ 0,0,
|
||||
#endif
|
||||
const_cast<void*>(value),
|
||||
false);
|
||||
Reference in New Issue
Block a user