mirror of https://github.com/aria2/aria2
2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing #ifdef HAVE_PORT_ASSOCIATE * src/DownloadEngineFactory.ccpull/1/head
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>
|
2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Added opensolaris port_associate() support.
|
Added opensolaris port_associate() support.
|
||||||
|
|
|
@ -96,6 +96,7 @@ DownloadEngineFactory::newDownloadEngine
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
#endif // HAVE_EPLL
|
#endif // HAVE_EPLL
|
||||||
|
#ifdef HAVE_PORT_ASSOCIATE
|
||||||
if(pollMethod == V_PORT) {
|
if(pollMethod == V_PORT) {
|
||||||
SharedHandle<PortEventPoll> pp(new PortEventPoll());
|
SharedHandle<PortEventPoll> pp(new PortEventPoll());
|
||||||
if(pp->good()) {
|
if(pp->good()) {
|
||||||
|
@ -105,6 +106,7 @@ DownloadEngineFactory::newDownloadEngine
|
||||||
" Try --event-poll=select");
|
" Try --event-poll=select");
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
#endif // HAVE_PORT_ASSOCIATE
|
||||||
#ifdef HAVE_POLL
|
#ifdef HAVE_POLL
|
||||||
if(pollMethod == V_POLL) {
|
if(pollMethod == V_POLL) {
|
||||||
eventPoll.reset(new PollEventPoll());
|
eventPoll.reset(new PollEventPoll());
|
||||||
|
|
Loading…
Reference in New Issue