aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-08-20 14:07:11 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-08-20 14:07:11 +0000
commitfa83a0573eb1b201969a66fb846c558b4855a07a (patch)
tree73c6acd8cd5996a565ff93bf83e8f3bda6d8feb3
parent7b97371ab19ecc932ffc9be11fb7aa00eec45518 (diff)
No WSAGetLastError() on Watt-32/DOS
-rw-r--r--ares/ares_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c
index 4a88b76a8..19fe08289 100644
--- a/ares/ares_process.c
+++ b/ares/ares_process.c
@@ -42,7 +42,7 @@
#include "ares_dns.h"
#include "ares_private.h"
-#if defined(WIN32) || defined(WATT32)
+#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
#define GET_ERRNO() WSAGetLastError()
#else
#define GET_ERRNO() errno