2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Added missing #ifdef HAVE_PORT_ASSOCIATE
	* src/DownloadEngineFactory.cc
This commit is contained in:
Tatsuhiro Tsujikawa 2010-04-21 15:54:39 +00:00
parent 9cf05b7115
commit 2082a3b8df
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing #ifdef HAVE_PORT_ASSOCIATE
* src/DownloadEngineFactory.cc
2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added opensolaris port_associate() support.

View File

@ -96,6 +96,7 @@ DownloadEngineFactory::newDownloadEngine
}
} else
#endif // HAVE_EPLL
#ifdef HAVE_PORT_ASSOCIATE
if(pollMethod == V_PORT) {
SharedHandle<PortEventPoll> pp(new PortEventPoll());
if(pp->good()) {
@ -105,6 +106,7 @@ DownloadEngineFactory::newDownloadEngine
" Try --event-poll=select");
}
} else
#endif // HAVE_PORT_ASSOCIATE
#ifdef HAVE_POLL
if(pollMethod == V_POLL) {
eventPoll.reset(new PollEventPoll());