diff options
Diffstat (limited to 'ares/ahost.c')
-rw-r--r-- | ares/ahost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/ahost.c b/ares/ahost.c index 40cd08439..92eacd76a 100644 --- a/ares/ahost.c +++ b/ares/ahost.c @@ -64,8 +64,8 @@ int main(int argc, char **argv) struct in_addr addr4; struct in6_addr addr6; -#ifdef WIN32 - WORD wVersionRequested = MAKEWORD(1,1); +#ifdef USE_WINSOCK + WORD wVersionRequested = MAKEWORD(USE_WINSOCK,USE_WINSOCK); WSADATA wsaData; WSAStartup(wVersionRequested, &wsaData); #endif |