Fix spacing. When defining, define to 1.
[platform/upstream/c-ares.git] / config-win32.h
1 #ifndef __ARES_CONFIG_WIN32_H
2 #define __ARES_CONFIG_WIN32_H
3
4 /* $Id$ */
5
6 /* Copyright (C) 2004 - 2005 by Daniel Stenberg et al
7  *
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.
17  */
18
19 /* ================================================================ */
20 /*    ares/config-win32.h - Hand crafted config file for windows    */
21 /* ================================================================ */
22
23 /* ---------------------------------------------------------------- */
24 /*                          HEADER FILES                            */
25 /* ---------------------------------------------------------------- */
26
27 /* Define if you have the <getopt.h> header file.  */
28 #if defined(__MINGW32__)
29 #define HAVE_GETOPT_H 1
30 #endif
31
32 /* Define if you have the <unistd.h> header file.  */
33 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
34 #define HAVE_UNISTD_H 1
35 #endif
36
37 /* Define if you have the <windows.h> header file.  */
38 #define HAVE_WINDOWS_H 1
39
40 /* Define if you have the <winsock.h> header file.  */
41 #define HAVE_WINSOCK_H 1
42
43 /* Define if you have the <winsock2.h> header file.  */
44 #define HAVE_WINSOCK2_H 1
45
46 /* Define if you have the <ws2tcpip.h> header file.  */
47 #define HAVE_WS2TCPIP_H 1
48
49 /* ---------------------------------------------------------------- */
50 /*                             FUNCTIONS                            */
51 /* ---------------------------------------------------------------- */
52
53 /* Define if you have the ioctlsocket function.  */
54 #define HAVE_IOCTLSOCKET 1
55
56 /* ---------------------------------------------------------------- */
57 /*                          STRUCT RELATED                          */
58 /* ---------------------------------------------------------------- */
59
60 /* Define this if you have struct addrinfo */
61 #define HAVE_STRUCT_ADDRINFO 1
62
63 /* Define this if you have struct sockaddr_storage */
64 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
65
66 /* ---------------------------------------------------------------- */
67 /*                         IPV6 COMPATIBILITY                       */
68 /* ---------------------------------------------------------------- */
69
70 /* Define this if you have address family AF_INET6 */
71 #define HAVE_AF_INET6 1
72
73 /* Define this if you have protocol family PF_INET6 */
74 #define HAVE_PF_INET6 1
75
76 /* Define this if you have struct in6_addr */
77 #define HAVE_STRUCT_IN6_ADDR 1
78
79 /* Define this if you have struct sockaddr_in6 */
80 #define HAVE_STRUCT_SOCKADDR_IN6 1
81
82 /* Define this if you have sockaddr_in6 with scopeid */
83 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
84
85
86 #endif  /* __ARES_CONFIG_WIN32_H */