diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-02-18 23:36:39 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-02-18 23:36:39 +0900 |
| commit | b21cce00021e6f46de4daa27e204a70cc36a9040 (patch) | |
| tree | b619f517c6671cafb34147fe0cad1c5f40dfe622 /src/AsyncNameResolver.h | |
| parent | bf74f8f0092a69c234075fa9f441fa58682e13a2 (diff) | |
Use pkg-config for libcares. Dropped c-ares pre-1.5 support.
Diffstat (limited to 'src/AsyncNameResolver.h')
| -rw-r--r-- | src/AsyncNameResolver.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/AsyncNameResolver.h b/src/AsyncNameResolver.h index 12aca93c..8f80b614 100644 --- a/src/AsyncNameResolver.h +++ b/src/AsyncNameResolver.h @@ -48,12 +48,8 @@ namespace aria2 { class AsyncNameResolver { -#ifdef HAVE_LIBCARES1_5 - friend void callback(void* arg, int status, int timeouts, struct hostent* host); -#else - friend void callback(void* arg, int status, struct hostent* host); -#endif // HAVE_LIBCARES1_5 - + friend void callback + (void* arg, int status, int timeouts, struct hostent* host); public: enum STATUS { STATUS_READY, |
