From 1d9fff80b7a668a37ef5109c9ddee6aed2a61366 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 6 Apr 2005 21:14:58 +0000 Subject: better errno constant replacements, as mentioned by Gisle Vanem --- ares/nameser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ares') diff --git a/ares/nameser.h b/ares/nameser.h index fd496c57a..9a2a6693c 100644 --- a/ares/nameser.h +++ b/ares/nameser.h @@ -16,8 +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? */ +#define EMSGSIZE WSAEMSGSIZE +#define EAFNOSUPPORT WSAEAFNOSUPPORT /* Structure for scatter/gather I/O. */ struct iovec -- cgit v1.2.3