2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Fixed compile error without libcares when epoll is available.
	* src/EpollEventPoll.cc
pull/1/head
Tatsuhiro Tsujikawa 2009-02-10 14:26:11 +00:00
parent abae62908f
commit 01b3968f92
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-02-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error without libcares when epoll is available.
* src/EpollEventPoll.cc
2009-02-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Included fstream instead of iostream.

View File

@ -454,11 +454,13 @@ bool EpollEventPoll::addEvents(sock_t socket, Command* command,
return addEvents(socket, CommandEvent(command, epEvents));
}
#ifdef ENABLE_ASYNC_DNS
bool EpollEventPoll::addEvents(sock_t socket, Command* command, int events,
const SharedHandle<AsyncNameResolver>& rs)
{
return addEvents(socket, ADNSEvent(rs, command, socket, events));
}
#endif // ENABLE_ASYNC_DNS
bool EpollEventPoll::deleteEvents(sock_t socket,
const EpollEventPoll::Event& event)
@ -496,11 +498,13 @@ bool EpollEventPoll::deleteEvents(sock_t socket,
}
}
#ifdef ENABLE_ASYNC_DNS
bool EpollEventPoll::deleteEvents(sock_t socket, Command* command,
const SharedHandle<AsyncNameResolver>& rs)
{
return deleteEvents(socket, ADNSEvent(rs, command, socket, 0));
}
#endif // ENABLE_ASYNC_DNS
bool EpollEventPoll::deleteEvents(sock_t socket, Command* command,
EventPoll::EventType events)