#include <strings.h>
#endif
-#if defined(WIN32)
+#if defined(WIN32) && !defined(WATT32)
#include <winsock.h>
#else
#include <arpa/inet.h>
ares_channel channel;
int ch, status;
-#ifdef WIN32
+#if defined(WIN32) && !defined(WATT32)
WORD wVersionRequested = MAKEWORD(USE_WINSOCK,USE_WINSOCK);
WSADATA wsaData;
WSAStartup(wVersionRequested, &wsaData);
case 'v':
verbose++;
break;
+ case 't':
+ use_vc = 1;
case 'h':
case '?':
default:
wait_ares(channel);
ares_destroy(channel);
-#ifdef WIN32
+#if defined(WIN32) && !defined(WATT32)
WSACleanup();
#endif