mirror of https://github.com/aria2/aria2
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed compilation error without ares/c-ares * src/NameResolver.h:pull/1/head
parent
3f17f5ffd7
commit
4771fcf53c
|
@ -1,3 +1,8 @@
|
||||||
|
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
Fixed compilation error without ares/c-ares
|
||||||
|
* src/NameResolver.h:
|
||||||
|
|
||||||
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Added a test for large file.
|
Added a test for large file.
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
*/
|
*/
|
||||||
/* copyright --> */
|
/* copyright --> */
|
||||||
#include "NameResolver.h"
|
#include "NameResolver.h"
|
||||||
|
#include "DlAbortEx.h"
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
namespace aria2 {
|
namespace aria2 {
|
||||||
|
|
|
@ -50,8 +50,12 @@ extern "C" {
|
||||||
} /* end of extern "C" */
|
} /* end of extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif // ENABLE_ASYNC_DNS
|
||||||
|
|
||||||
namespace aria2 {
|
namespace aria2 {
|
||||||
|
|
||||||
|
#ifdef ENABLE_ASYNC_DNS
|
||||||
|
|
||||||
#ifdef HAVE_LIBCARES1_5
|
#ifdef HAVE_LIBCARES1_5
|
||||||
void callback(void* arg, int status, int timeouts, struct hostent* host);
|
void callback(void* arg, int status, int timeouts, struct hostent* host);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue