diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-18 21:05:40 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-18 21:05:40 +0000 |
commit | 5df4be11657fc49d74e1e6b39c0003f7cf2f3772 (patch) | |
tree | 93d2ef65b7accbd9a6572dbfca634dc69e95ffce /ares/setup.h | |
parent | 96445f1b7da2013c294c541530f0160e248b430e (diff) |
Check for USE_WINSOCK instead of WIN32 where the check was done
to verify winsock API availability.
Diffstat (limited to 'ares/setup.h')
-rw-r--r-- | ares/setup.h | 2 |
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 |