From 2082a3b8dfc3c01d808eeb6d976a06b99083f940 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 21 Apr 2010 15:54:39 +0000 Subject: [PATCH] 2010-04-22 Tatsuhiro Tsujikawa Added missing #ifdef HAVE_PORT_ASSOCIATE * src/DownloadEngineFactory.cc --- ChangeLog | 5 +++++ src/DownloadEngineFactory.cc | 2 ++ 2 files changed, 7 insertions(+) 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());