Fixed compilation error

master
SChernykh 1 year ago
parent 7a83fd2f30
commit 5f18eed14d

@ -34,8 +34,6 @@ static constexpr int DEFAULT_BACKLOG = 1;
namespace p2pool {
extern const uv_handle_type stdin_type;
ConsoleCommands::ConsoleCommands(p2pool* pool)
: TCPServer(DEFAULT_BACKLOG, ConsoleClient::allocate)
, m_pool(pool)

@ -32,7 +32,7 @@ static constexpr char log_file_name[] = "p2pool.log";
namespace p2pool {
extern const uv_handle_type stdin_type = uv_guess_handle(0);
const uv_handle_type stdin_type = uv_guess_handle(0);
namespace log {

@ -25,6 +25,8 @@ static_assert(sizeof(in_addr) == 4, "struct in_addr has invalid size");
namespace p2pool {
extern const uv_handle_type stdin_type;
struct MutexLock : public nocopy_nomove
{
explicit FORCEINLINE MutexLock(uv_mutex_t& handle) : m_handle(&handle) { uv_mutex_lock(&handle); }

Loading…
Cancel
Save