Fixed compilation error
This commit is contained in:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user