summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.h b/setup.h
index 3b97e27..a5899d8 100644
--- a/setup.h
+++ b/setup.h
@@ -121,7 +121,7 @@
* Typedef our socket type
*/
-#if defined(WIN32) && !defined(WATT32)
+#ifdef USE_WINSOCK
typedef SOCKET ares_socket_t;
#define ARES_SOCKET_BAD INVALID_SOCKET
#else