Skip to content

Commit

Permalink
Fix wesnothd build for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkive committed Sep 15, 2016
1 parent 42c3435 commit dc89612
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/server_base.cpp
Expand Up @@ -124,13 +124,15 @@ void server_base::handle_handshake(const boost::system::error_code& error, socke
);
}

#ifndef _WIN32
void server_base::read_from_fifo() {
async_read_until(input_,
admin_cmd_, '\n',
[=](const boost::system::error_code& error, std::size_t bytes_transferred)
{ this->handle_read_from_fifo(error, bytes_transferred); }
);
}
#endif

void server_base::handle_termination(const boost::system::error_code& error, int signal_number)
{
Expand Down

0 comments on commit dc89612

Please sign in to comment.