mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
2006-08-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
To fix compilation problem on gcc4.1.1(patch#1542283 by tizianomueller) * src/NameResolver.h: Added the prototype declaration of callback(). To support c-ares library: * src/AbstractCommand.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/FeatureConfig.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/FtpInitiateConnectionCommand.h: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/AbstractCommand.h: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/HttpInitiateConnectionCommand.h: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/NameResolver.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/HttpInitiateConnectionCommand.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/FtpInitiateConnectionCommand.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/DownloadEngine.h: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS * src/DownloadEngine.cc: Replaced HAVE_LIBARES with ENABLE_ASYNC_DNS
This commit is contained in:
parent
29d1723996
commit
4def45feb2
21 changed files with 263 additions and 88 deletions
|
@ -26,9 +26,9 @@
|
|||
|
||||
class FtpInitiateConnectionCommand : public AbstractCommand {
|
||||
private:
|
||||
#ifdef HAVE_LIBARES
|
||||
#ifdef ENABLE_ASYNC_DNS
|
||||
NameResolverHandle nameResolver;
|
||||
#endif // HAVE_LIBARES
|
||||
#endif // ENABLE_ASYNC_DNS
|
||||
bool useHttpProxy() const;
|
||||
bool useHttpProxyGet() const;
|
||||
bool useHttpProxyConnect() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue