Easy configuration with this file.
[platform/upstream/c-ares.git] / config-win32.h
1 /* $Id$ */
2
3 /* Copyright (C) 2004 - 2005 by Daniel Stenberg et al
4  *
5  * Permission to use, copy, modify, and distribute this software and its
6  * documentation for any purpose and without fee is hereby granted, provided
7  * that the above copyright notice appear in all copies and that both that
8  * copyright notice and this permission notice appear in supporting
9  * documentation, and that the name of M.I.T. not be used in advertising or
10  * publicity pertaining to distribution of the software without specific,
11  * written prior permission.  M.I.T. makes no representations about the
12  * suitability of this software for any purpose.  It is provided "as is"
13  * without express or implied warranty.
14  */
15
16 #ifndef __CONFIG_WIN32_H
17 #define __CONFIG_WIN32_H
18
19 #if defined(__MINGW32__)
20 #define HAVE_GETOPT_H
21 #endif
22
23 #if defined(__MINGW32__) || defined(__WATCOMC__)
24 #define HAVE_UNISTD_H
25 #endif
26
27 #define HAVE_AF_INET6
28 #define HAVE_PF_INET6
29 #define HAVE_IOCTLSOCKET
30 #define HAVE_STRUCT_IN6_ADDR
31 #define HAVE_STRUCT_SOCKADDR_IN6
32 #define HAVE_STRUCT_ADDRINFO
33
34 #endif  /* __CONFIG_WIN32_H */