summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-18 21:05:40 +0000
committerYang Tse <yangsita@gmail.com>2006-10-18 21:05:40 +0000
commit77ac18117cf23d5ec8add1565691a7b980326934 (patch)
tree33c5486da1ddf826bb3753b55302b60b6c2e91b8 /setup.h
parent70ed671edf618a0508d2f06ddb80e5813aca5e68 (diff)
downloadc-ares-77ac18117cf23d5ec8add1565691a7b980326934.tar.gz
c-ares-77ac18117cf23d5ec8add1565691a7b980326934.tar.bz2
c-ares-77ac18117cf23d5ec8add1565691a7b980326934.zip
Check for USE_WINSOCK instead of WIN32 where the check was done
to verify winsock API availability.
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