]> sjero.net Git - wget/blob - windows/config.h.mingw
[svn] Various fixes by David Fritz.
[wget] / windows / config.h.mingw
1 /* Configuration header file.
2    Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2004
3    Free Software Foundation, Inc.
4
5 This file is part of GNU Wget.
6
7 GNU Wget is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 GNU Wget is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Wget; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21 In addition, as a special exception, the Free Software Foundation
22 gives permission to link the code of its release of Wget with the
23 OpenSSL project's "OpenSSL" library (or with modified versions of it
24 that use the same license as the "OpenSSL" library), and distribute
25 the linked executables.  You must obey the GNU General Public License
26 in all respects for all of the code used other than "OpenSSL".  If you
27 modify this file, you may extend this exception to your version of the
28 file, but you are not obligated to do so.  If you do not wish to do
29 so, delete this exception statement from your version.  */
30
31 #ifndef CONFIG_H
32 #define CONFIG_H
33
34 /* Define if you have the <alloca.h> header file.  */
35 /* #undef HAVE_ALLOCA_H */
36
37 /* For MinGW GCC/Win32, alloca is defined in the <malloc.h> header file. */
38 #include <malloc.h>
39
40 /* Flag that C files should include <stdarg.h>, not <varargs.h>.  */
41 #define WGET_USE_STDARG
42
43 /* Define to empty if the keyword does not work.  */
44 /* #undef const */
45
46 /* Define to empty or __inline__ or __inline.  */
47 /* #undef inline */
48
49 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
50 /* #undef size_t */
51
52 /* Define to `int' if <sys/types.h> doesn't define.  */
53 /* #undef pid_t */
54
55 /* Define if you have the ANSI C header files.  */
56 #define STDC_HEADERS 1
57
58 /* Define as the return type of signal handlers (int or void).  */
59 #define RETSIGTYPE void
60
61 /* Define if your architecture is big endian (with the most
62    significant byte first).  */
63 /* #undef WORDS_BIGENDIAN */
64
65 #define ftruncate chsize
66
67 /* Define to the length of short. */
68 #define SIZEOF_SHORT 2
69
70 /* Define to the length of int. */
71 #define SIZEOF_INT 4
72
73 /* Define to the length of long. */
74 #define SIZEOF_LONG 4
75
76 /* Define to the length of long long. */
77 #define SIZEOF_LONG_LONG 8
78
79 /* Define this if you want the NLS support.  */
80 /* #undef HAVE_NLS */
81
82 /* Define if you want the FTP support for Opie compiled in.  */
83 #define USE_OPIE 1
84
85 /* Define if you want the HTTP Digest Authorization compiled in.  */
86 #define USE_DIGEST 1
87
88 /* Define if you want the debug output support compiled in.  */
89 #define ENABLE_DEBUG 1
90
91 /* Define to 1 if the system has the type `sig_atomic_t'. */
92 #define HAVE_SIG_ATOMIC_T 1
93
94 /* Define if you have sys/time.h header.  */
95 #define HAVE_SYS_TIME_H 1
96
97 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
98 #define TIME_WITH_SYS_TIME 1
99
100 /* Define if you have struct utimbuf.  */
101 #define HAVE_STRUCT_UTIMBUF 1
102
103 /* Define if you have the uname function.  */
104 /* #undef HAVE_UNAME */
105
106 /* Define if you have a working version of mmap.  */
107 /* #undef HAVE_MMAP */
108
109 /* Define if you have the gethostname function.  */
110 /* #undef HAVE_GETHOSTNAME */
111
112 /* Define if you have the select function.  */
113 /* #undef HAVE_SELECT */
114
115 /* Define if you have the gettimeofday function.  */
116 /* #undef HAVE_GETTIMEOFDAY */
117
118 /* Define if you have the strdup function.  */
119 #define HAVE_STRDUP 1
120
121 /* Define if you have the sys/utsname.h header.  */
122 /* #undef HAVE_SYS_UTSNAME_H */
123
124 /* Define if you have the strerror function.  */
125 #define HAVE_STRERROR 1
126
127 /* Define if you have the snprintf function.  */
128 #define HAVE_SNPRINTF 1
129
130 /* Define if you have the vsnprintf function.  */
131 #define HAVE_VSNPRINTF 1
132
133 /* Define if you have the strstr function.  */
134 #define HAVE_STRSTR 1
135
136 /* Define if you have the strcasecmp function.  */
137 #define HAVE_STRCASECMP 1
138
139 /* Define if you have the strncasecmp function.  */
140 #define HAVE_STRNCASECMP 1
141
142 /* Define if you have the strpbrk function.  */
143 #define HAVE_STRPBRK 1
144
145 /* Define if you have the memmove function.  */
146 #define HAVE_MEMMOVE 1
147
148 /* Define if you have the strptime function.  */
149 /* #undef HAVE_STRPTIME */
150
151 /* Define if you have the mktime function.  */
152 #define HAVE_MKTIME 1
153
154 /* Define if you have the symlink function.  */
155 /* #undef HAVE_SYMLINK */
156
157 /* Define if you have the access function.  */
158 #define HAVE_ACCESS 1
159
160 /* Define if you have the isatty function.  */
161 #define HAVE_ISATTY 1
162
163 /* Define if you have the signal function.  */
164 /* #undef HAVE_SIGNAL */
165
166 /* Define if you have the sigsetjmp function.  */
167 /* #undef HAVE_SIGSETJMP */
168
169 /* Define if you have the sigblock function.  */
170 /* #undef HAVE_SIGBLOCK */
171
172 /* Define if you have the gettext function.  */
173 /* #undef HAVE_GETTEXT */
174
175 /* Define if you have the usleep function.  */
176 /* #undef HAVE_USLEEP */
177
178 /* Define if you have the <string.h> header file.  */
179 #define HAVE_STRING_H 1
180
181 /* Define if you have the <stdarg.h> header file.  */
182 #define HAVE_STDARG_H 1
183
184 /* Define if you have the <unistd.h> header file.  */
185 #define HAVE_UNISTD_H 1
186
187 /* Define if you have the <utime.h> header file.  */
188 #define HAVE_UTIME_H 1
189
190 /* Define if you have the <sys/utime.h> header file.  */
191 #define HAVE_SYS_UTIME_H 1
192
193 /* Define if you have the <termios.h> header file.  */
194 /* #undef HAVE_TERMIOS_H */
195
196 /* Define if you have the <sys/ioctl.h> header file.  */
197 /* #undef HAVE_SYS_IOCTL_H */
198
199 /* Define if you have the <sys/select.h> header file.  */
200 /* #undef HAVE_SYS_SELECT_H */
201
202 /* Define if you have the <pwd.h> header file.  */
203 /* #undef HAVE_PWD_H */
204
205 /* Define if you have the <signal.h> header file.  */
206 #define HAVE_SIGNAL_H 1
207
208 /* Define if you have the <setjmp.h> header file.  */
209 #define HAVE_SETJMP_H 1
210
211 /* Define if you have the <libintl.h> header file.  */
212 /* #undef HAVE_LIBINTL_H */
213
214 /* Define if you have the <locale.h> header file.  */
215 #define HAVE_LOCALE_H 1
216
217 /* Define to be the name of the operating system.  */
218 #define OS_TYPE "mingw32"
219
220 /* Define if you wish to compile with socks support.  */
221 /* #undef HAVE_SOCKS */
222
223 /* Define to 1 if ANSI function prototypes are usable.  */
224 #define PROTOTYPES 1
225
226 /* Define if all libs needed for ssl support are existing */
227 /* #undef HAVE_SSL */
228
229 /* Define if we're compiling in support for MD5.  */
230 #define HAVE_MD5 1
231
232 /* Define if we're using Solaris libmd5.  */
233 /* #undef HAVE_SOLARIS_MD5 */
234
235 /* Define if we're using OpenSSL md5.  */
236 /* #undef HAVE_OPENSSL_MD5 */
237
238 /* Define if we're using builtin (GNU) md5.c.  */
239 #define HAVE_BUILTIN_MD5 1
240
241 /* Define if you have the getaddrinfo function.  */
242 /* #undef HAVE_GETADDRINFO */
243
244 /* Define if the system headers support the AI_ADDRCONFIG flag. */
245 /* #undef HAVE_GETADDRINFO_AI_ADDRCONFIG */
246
247 /* Define if the system headers support the AI_V4MAPPED flag. */
248 /* #undef HAVE_GETADDRINFO_AI_V4MAPPED */
249
250 /* Define if the system headers support the AI_ALL flag. */
251 /* #undef HAVE_GETADDRINFO_AI_ALL */
252
253 /* Define if the system supports struct sockaddr_in6 */
254 /* #undef HAVE_HAVE_STRUCT_SOCKADDR_IN6 */
255
256 /* Define if struct sockaddr_in6 has the sin6_scope_id member */
257 /* #undef HAVE_SOCKADDR_IN6_SCOPE_ID */
258
259 /* Define if you want to enable the IPv6 support.  */
260 /* #undef ENABLE_IPV6 */
261
262 /* Defined to int or size_t on systems without socklen_t.  */
263 #define socklen_t int
264
265 /* Define if you have uint32_t.  */
266 #undef HAVE_UINT32_T
267
268 #endif /* CONFIG_H */