diff options
Diffstat (limited to 'ares/adig.c')
-rw-r--r-- | ares/adig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/adig.c b/ares/adig.c index fb3a43222..a0f622abd 100644 --- a/ares/adig.c +++ b/ares/adig.c @@ -153,8 +153,8 @@ int main(int argc, char **argv) fd_set read_fds, write_fds; struct timeval *tvp, tv; -#ifdef WIN32 - WORD wVersionRequested = MAKEWORD(1,1); +#ifdef USE_WINSOCK + WORD wVersionRequested = MAKEWORD(USE_WINSOCK,USE_WINSOCK); WSADATA wsaData; WSAStartup(wVersionRequested, &wsaData); #endif |