aboutsummaryrefslogtreecommitdiff
path: root/ares/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/setup.h')
-rw-r--r--ares/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/setup.h b/ares/setup.h
index 3b97e273e..a5899d883 100644
--- a/ares/setup.h
+++ b/ares/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