mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
Fixed compilation error
This commit is contained in:
parent
7a83fd2f30
commit
5f18eed14d
3 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue