diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-05 20:20:14 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-05 20:20:14 +0000 |
commit | 3d90cb252b5afeace167f101ddc18a57337b3429 (patch) | |
tree | 2e38714a1b67e7f91bd0542ef2ade5322eb52a84 /nameser.h | |
parent | 39ea2073061c92f1589e17fbe1e0946ab0c3e1ca (diff) | |
download | c-ares-3d90cb252b5afeace167f101ddc18a57337b3429.tar.gz c-ares-3d90cb252b5afeace167f101ddc18a57337b3429.tar.bz2 c-ares-3d90cb252b5afeace167f101ddc18a57337b3429.zip |
with these changes, it builds on my win32 cross-compiler
Diffstat (limited to 'nameser.h')
-rw-r--r-- | nameser.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -16,6 +16,8 @@ #define EINPROGRESS WSAEINPROGRESS #define EWOULDBLOCK WSAEWOULDBLOCK +#define EMSGSIZE ERANGE /* FIX: is there a better replacement? */ +#define EAFNOSUPPORT ERANGE /* FIX: is there a better replacement? */ /* Structure for scatter/gather I/O. */ struct iovec @@ -36,8 +38,10 @@ int ares_gettimeofday(struct timeval *tv, struct timezone *tz); #endif /* !NETWARE */ -#define NS_CMPRSFLGS 0xc0 - +#define NS_CMPRSFLGS 0xc0 +#define NS_IN6ADDRSZ 16 +#define NS_INT16SZ 2 +#define NS_INADDRSZ 4 /* Flag bits indicating name compression. */ #define INDIR_MASK NS_CMPRSFLGS @@ -134,7 +138,7 @@ typedef enum __ns_opcode { #define QUERY ns_o_query -#define NS_MAXLABEL 63 +#define NS_MAXLABEL 63 #define MAXLABEL NS_MAXLABEL #define NS_RRFIXEDSZ 10 /* #/bytes of fixed data in r record */ |