aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-06 21:14:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-06 21:14:58 +0000
commit1d9fff80b7a668a37ef5109c9ddee6aed2a61366 (patch)
tree6b317c31d4caecc407c5f61c55874ad87924dc14 /ares
parentc712b84dd529b49f0aece99c62e6cfb2d1633c4e (diff)
better errno constant replacements, as mentioned by Gisle Vanem
Diffstat (limited to 'ares')
-rw-r--r--ares/nameser.h4
1 files changed, 2 insertions, 2 deletions
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