try to fix boost asio
This commit is contained in:
@@ -49,6 +49,10 @@
|
||||
#include "comm/curl/curl_shared.hpp"
|
||||
#endif // defined(PROJECT_ENABLE_CURL)
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <csignal>
|
||||
#endif // defined(__APPLE__)
|
||||
|
||||
namespace {
|
||||
#if defined(PROJECT_ENABLE_CURL)
|
||||
bool curl_initialized{false};
|
||||
@@ -67,6 +71,10 @@ namespace repertory {
|
||||
auto project_initialize() -> bool {
|
||||
REPERTORY_USES_FUNCTION_NAME();
|
||||
|
||||
#if defined(__APPLE__)
|
||||
std::signal(SIGPIPE, SIG_IGN);
|
||||
#endif // defined(__APPLE__)
|
||||
|
||||
#if defined(PROJECT_REQUIRE_ALPINE) && !defined(PROJECT_IS_MINGW)
|
||||
{
|
||||
static constexpr auto guard_size{4096U};
|
||||
|
Reference in New Issue
Block a user