X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhost.c;h=585b93c7ea8ffa73834fbeb8e16087e1bddf8269;hp=272ed4f1629160e454650a93057cb506d6f7757d;hb=42139ce9b1697a424e31b3d0f7b1a07315661579;hpb=441bdb084c84b3afebd9c9055fddba56ae7bc77c diff --git a/src/host.c b/src/host.c index 272ed4f1..585b93c7 100644 --- a/src/host.c +++ b/src/host.c @@ -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 #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. */