mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Define NO_ADDRESS only after the system headers have been included.
This commit is contained in:
parent
441bdb084c
commit
42139ce9b1
@ -1,3 +1,8 @@
|
||||
2005-04-07 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* host.c (NO_ADDRESS): Define NO_ADDRESS only after the system
|
||||
headers have been included.
|
||||
|
||||
2005-04-06 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* http.c (pconn): Include NTLM data, which is per-connection.
|
||||
|
@ -55,10 +55,6 @@ so, delete this exception statement from your version. */
|
||||
# define SET_H_ERRNO(err) WSASetLastError (err)
|
||||
#endif /* WINDOWS */
|
||||
|
||||
#ifndef NO_ADDRESS
|
||||
# define NO_ADDRESS NO_DATA
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "wget.h"
|
||||
@ -78,6 +74,10 @@ extern int h_errno;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef NO_ADDRESS
|
||||
# define NO_ADDRESS NO_DATA
|
||||
#endif
|
||||
|
||||
/* Lists of IP addresses that result from running DNS queries. See
|
||||
lookup_host for details. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user