mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-17 05:30:43 +02:00
Merge boost_171_177_workarounds
This commit is contained in:
commit
01a9ec32bc
@ -1614,6 +1614,14 @@ if test "$use_external_signer" != "no"; then
|
||||
dnl Boost 1.73 and older require the following workaround.
|
||||
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
|
||||
// Boost 1.77 requires the following workaround.
|
||||
// See: https://github.com/boostorg/process/issues/213
|
||||
#include <algorithm>
|
||||
#if defined(WIN32) && !defined(__kernel_entry)
|
||||
// Boost 1.71-1.77 requires the following workaround for compatibility with mingw-w64 compiler.
|
||||
// See: https://github.com/bitcoin/bitcoin/pull/22348
|
||||
#define __kernel_entry
|
||||
#endif
|
||||
#define BOOST_PROCESS_USE_STD_FS
|
||||
#include <boost/process.hpp>
|
||||
|
||||
|
@ -12,6 +12,16 @@
|
||||
#include <univalue.h>
|
||||
|
||||
#ifdef ENABLE_EXTERNAL_SIGNER
|
||||
// Boost 1.77 requires the following workaround.
|
||||
// See: https://github.com/boostorg/process/issues/213
|
||||
#include <algorithm>
|
||||
|
||||
#if defined(WIN32) && !defined(__kernel_entry)
|
||||
// Boost 1.71-1.77 requires the following workaround for compatibility with mingw-w64 compiler.
|
||||
// See: https://github.com/bitcoin/bitcoin/pull/22348
|
||||
#define __kernel_entry
|
||||
#endif
|
||||
|
||||
#include <boost/process.hpp>
|
||||
#endif // ENABLE_EXTERNAL_SIGNER
|
||||
|
||||
|
@ -18,6 +18,14 @@
|
||||
#include <fcntl.h>
|
||||
#ifdef FD_CLOEXEC
|
||||
#include <unistd.h>
|
||||
// Boost 1.77 requires the following workaround.
|
||||
// See: https://github.com/boostorg/process/issues/213
|
||||
#include <algorithm>
|
||||
#if defined(WIN32) && !defined(__kernel_entry)
|
||||
// Boost 1.71-1.77 requires the following workaround for compatibility with mingw-w64 compiler.
|
||||
// See: https://github.com/bitcoin/bitcoin/pull/22348
|
||||
#define __kernel_entry
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
// Boost 1.78 requires the following workaround.
|
||||
// See: https://github.com/boostorg/process/issues/235
|
||||
|
@ -7,6 +7,16 @@
|
||||
#include <univalue.h>
|
||||
|
||||
#ifdef ENABLE_EXTERNAL_SIGNER
|
||||
// Boost 1.77 requires the following workaround.
|
||||
// See: https://github.com/boostorg/process/issues/213
|
||||
#include <algorithm>
|
||||
|
||||
#if defined(WIN32) && !defined(__kernel_entry)
|
||||
// Boost 1.71-1.77 requires the following workaround for compatibility with mingw-w64 compiler.
|
||||
// See: https://github.com/bitcoin/bitcoin/pull/22348
|
||||
#define __kernel_entry
|
||||
#endif
|
||||
|
||||
#include <boost/process.hpp>
|
||||
#endif // ENABLE_EXTERNAL_SIGNER
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user