1 #ifndef __ARES_CONFIG_WIN32_H
2 #define __ARES_CONFIG_WIN32_H
6 /* Copyright (C) 2004 - 2005 by Daniel Stenberg et al
8 * Permission to use, copy, modify, and distribute this software and its
9 * documentation for any purpose and without fee is hereby granted, provided
10 * that the above copyright notice appear in all copies and that both that
11 * copyright notice and this permission notice appear in supporting
12 * documentation, and that the name of M.I.T. not be used in advertising or
13 * publicity pertaining to distribution of the software without specific,
14 * written prior permission. M.I.T. makes no representations about the
15 * suitability of this software for any purpose. It is provided "as is"
16 * without express or implied warranty.
19 /* ================================================================ */
20 /* ares/config-win32.h - Hand crafted config file for windows */
21 /* ================================================================ */
23 /* ---------------------------------------------------------------- */
25 /* ---------------------------------------------------------------- */
27 /* Define if you have the <getopt.h> header file. */
28 #if defined(__MINGW32__)
29 #define HAVE_GETOPT_H 1
32 /* Define if you have the <unistd.h> header file. */
33 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
34 #define HAVE_UNISTD_H 1
37 /* Define if you have the <windows.h> header file. */
38 #define HAVE_WINDOWS_H 1
40 /* Define if you have the <winsock.h> header file. */
41 #define HAVE_WINSOCK_H 1
43 /* Define if you have the <winsock2.h> header file. */
44 #define HAVE_WINSOCK2_H 1
46 /* Define if you have the <ws2tcpip.h> header file. */
47 #define HAVE_WS2TCPIP_H 1
49 /* ---------------------------------------------------------------- */
51 /* ---------------------------------------------------------------- */
53 /* Define if you have the ioctlsocket function. */
54 #define HAVE_IOCTLSOCKET 1
56 /* ---------------------------------------------------------------- */
58 /* ---------------------------------------------------------------- */
60 /* Define this if you have struct addrinfo */
61 #define HAVE_STRUCT_ADDRINFO 1
63 /* Define this if you have struct sockaddr_storage */
64 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
66 /* ---------------------------------------------------------------- */
67 /* IPV6 COMPATIBILITY */
68 /* ---------------------------------------------------------------- */
70 /* Define this if you have address family AF_INET6 */
71 #define HAVE_AF_INET6 1
73 /* Define this if you have protocol family PF_INET6 */
74 #define HAVE_PF_INET6 1
76 /* Define this if you have struct in6_addr */
77 #define HAVE_STRUCT_IN6_ADDR 1
79 /* Define this if you have struct sockaddr_in6 */
80 #define HAVE_STRUCT_SOCKADDR_IN6 1
82 /* Define this if you have sockaddr_in6 with scopeid */
83 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
86 #endif /* __ARES_CONFIG_WIN32_H */