diff --git a/ChangeLog b/ChangeLog index ae842c53..5025ba8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-22 Tatsuhiro Tsujikawa + + Added missing #ifdef HAVE_PORT_ASSOCIATE + * src/DownloadEngineFactory.cc + 2010-04-21 Tatsuhiro Tsujikawa Added opensolaris port_associate() support. diff --git a/src/DownloadEngineFactory.cc b/src/DownloadEngineFactory.cc index 34e7f6b8..dd75aa78 100644 --- a/src/DownloadEngineFactory.cc +++ b/src/DownloadEngineFactory.cc @@ -96,6 +96,7 @@ DownloadEngineFactory::newDownloadEngine } } else #endif // HAVE_EPLL +#ifdef HAVE_PORT_ASSOCIATE if(pollMethod == V_PORT) { SharedHandle 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());