mirror of
https://github.com/aria2/aria2.git
synced 2025-01-09 03:21:33 +00:00
2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing #ifdef HAVE_PORT_ASSOCIATE * src/DownloadEngineFactory.cc
This commit is contained in:
parent
9cf05b7115
commit
2082a3b8df
@ -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.
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user