summaryrefslogtreecommitdiff
path: root/ares_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares_process.c')
-rw-r--r--ares_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c
index fb98e70..f34ae9e 100644
--- a/ares_process.c
+++ b/ares_process.c
@@ -59,7 +59,7 @@
#define TRUE 1
#endif
-#if (defined(WIN32) || defined(WATT32)) && !defined(MSDOS)
+#ifdef USE_WINSOCK
#define GET_ERRNO() WSAGetLastError()
#else
#define GET_ERRNO() errno