1
/* config.h. Generated automatically by configure. */
2
/* config.h.in. Generated automatically from configure.in by autoheader. */
4
#ifndef __CONFIG_WIN32_H
5
#define __CONFIG_WIN32_H
8
System headers sometimes define this.
9
We just want to avoid a redefinition error message. */
11
/* #undef _ALL_SOURCE */
14
/* Define to empty if the keyword does not work. */
17
/* Define if you don't have vprintf but do have _doprnt. */
18
/* #undef HAVE_DOPRNT */
20
/* Define if you have the vprintf function. */
21
#define HAVE_VPRINTF 1
23
/* Define as the return type of signal handlers (int or void). */
24
/*#define RETSIGTYPE void */
26
/* Define to `unsigned' if <sys/types.h> doesn't define. */
29
/* Define this to 'int' if ssize_t is not an available typedefed type */
30
#if defined(__WATCOMC__) && (__WATCOMC__ >= 1240)
35
/* Define this to 'int' if socklen_t is not an available typedefed type */
36
#if !defined(ENABLE_IPV6) && ((_MSC_VER < 1300) || !defined(USE_SSLEAY))
40
/* The size of a `curl_off_t', as computed by sizeof. */
41
#ifdef SIZEOF_CURL_OFF_T
42
#undef SIZEOF_CURL_OFF_T
45
/* Borland lacks _lseeki64(), so we don't support >2GB files */
47
#define SIZEOF_CURL_OFF_T 4
49
#define SIZEOF_CURL_OFF_T 8
52
/* Define if you have the ANSI C header files. */
53
#define STDC_HEADERS 1
55
/* Define if you can safely include both <sys/time.h> and <time.h>. */
56
/* #define TIME_WITH_SYS_TIME 1 */
58
/* Define cpu-machine-OS */
59
#define OS "i386-pc-win32"
61
/* The number of bytes in a long double. */
62
#define SIZEOF_LONG_DOUBLE 16
64
/* The number of bytes in a long long. */
65
/* #define SIZEOF_LONG_LONG 8 */
67
/* Define if you have the gethostbyaddr function. */
68
#define HAVE_GETHOSTBYADDR 1
70
/* Define if you have the gethostname function. */
71
#define HAVE_GETHOSTNAME 1
73
/* Define if you have the getpass function. */
74
/*#define HAVE_GETPASS 1*/
76
/* Define if you have the getservbyname function. */
77
#define HAVE_GETSERVBYNAME 1
79
/* Define if you have the gettimeofday function. */
80
/* #define HAVE_GETTIMEOFDAY 1 */
82
/* Define if you have the inet_addr function. */
83
#define HAVE_INET_ADDR 1
85
/* Define if you have the inet_ntoa function. */
86
#define HAVE_INET_NTOA 1
88
/* Define if you have the perror function. */
91
/* Define if you have the select function. */
94
/* Define if you have the socket function. */
97
/* Define if you have the strcasecmp function. */
98
/*#define HAVE_STRCASECMP 1*/
100
/* Define if you have the stricmp function. */
101
#define HAVE_STRICMP 1
103
/* Define if you have the strdup function. */
104
#define HAVE_STRDUP 1
106
/* Define if you have the strftime function. */
107
#define HAVE_STRFTIME 1
109
/* Define if you have the strstr function. */
110
#define HAVE_STRSTR 1
112
/* Define if you have the strtoll function. */
113
#if defined(__MINGW32__) || defined(__WATCOMC__)
114
#define HAVE_STRTOLL 1
117
/* Define if you have the tcgetattr function. */
118
/*#define HAVE_TCGETATTR 1*/
120
/* Define if you have the tcsetattr function. */
121
/*#define HAVE_TCSETATTR 1*/
123
/* Define if you have the uname function. */
124
/*#define HAVE_UNAME 1*/
126
/* Define if you have utime() */
1
#ifndef __LIB_CONFIG_WIN32_H
2
#define __LIB_CONFIG_WIN32_H
4
/* ================================================================ */
5
/* lib/config-win32.h - Hand crafted config file for windows */
6
/* ================================================================ */
8
/* ---------------------------------------------------------------- */
10
/* ---------------------------------------------------------------- */
131
12
/* Define if you have the <alloca.h> header file. */
132
/*#define HAVE_ALLOCA_H 1*/
134
/* Define if you have the malloc.h file. */
135
#define HAVE_MALLOC_H 1
13
/* #define HAVE_ALLOCA_H 1 */
137
15
/* Define if you have the <arpa/inet.h> header file. */
138
16
/* #define HAVE_ARPA_INET_H 1 */
141
19
#define HAVE_ASSERT_H 1
143
21
/* Define if you have the <crypto.h> header file. */
144
/* #undef HAVE_CRYPTO_H */
22
/* #define HAVE_CRYPTO_H 1 */
146
24
/* Define if you have the <dlfcn.h> header file. */
147
/*#define HAVE_DLFCN_H 1*/
25
/* #define HAVE_DLFCN_H 1 */
149
27
/* Define if you have the <err.h> header file. */
150
/* #undef HAVE_ERR_H */
28
/* #define HAVE_ERR_H 1 */
152
30
/* Define if you have the <fcntl.h> header file. */
153
31
#define HAVE_FCNTL_H 1
155
33
/* Define if you have the <getopt.h> header file. */
156
/* #undef HAVE_GETOPT_H */
34
/* #define HAVE_GETOPT_H 1 */
36
/* Define if you have the <io.h> header file. */
39
/* Define if you have the <malloc.h> header file. */
41
#define HAVE_MALLOC_H 1
158
44
/* Define if you have the <netdb.h> header file. */
159
45
/* #define HAVE_NETDB_H 1 */
161
47
/* Define if you have the <netinet/in.h> header file. */
162
/*#define HAVE_NETINET_IN_H 1*/
48
/* #define HAVE_NETINET_IN_H 1 */
50
/* Define if you have the <process.h> header file. */
52
#define HAVE_PROCESS_H 1
164
55
/* Define if you have the <sgtty.h> header file. */
165
/*#define HAVE_SGTTY_H 1*/
56
/* #define HAVE_SGTTY_H 1 */
167
58
/* Define if you have the <ssl.h> header file. */
168
/* #undef HAVE_SSL_H */
59
/* #define HAVE_SSL_H 1 */
61
/* Define if you have the <stdlib.h> header file. */
62
#define HAVE_STDLIB_H 1
170
64
/* Define if you have the <sys/param.h> header file. */
171
/*#define HAVE_SYS_PARAM_H 1*/
65
/* #define HAVE_SYS_PARAM_H 1 */
173
67
/* Define if you have the <sys/select.h> header file. */
174
/* #define HAVE_SYS_SELECT_H 1 */
68
/* #define HAVE_SYS_SELECT_H 1 */
176
70
/* Define if you have the <sys/socket.h> header file. */
177
/*#define HAVE_SYS_SOCKET_H 1*/
71
/* #define HAVE_SYS_SOCKET_H 1 */
179
73
/* Define if you have the <sys/sockio.h> header file. */
180
74
/* #define HAVE_SYS_SOCKIO_H 1 */
182
76
/* Define if you have the <sys/stat.h> header file. */
183
77
#define HAVE_SYS_STAT_H 1
79
/* Define if you have the <sys/types.h> header file. */
80
#define HAVE_SYS_TYPES_H 1
185
82
/* Define if you have the <sys/utime.h> header file */
186
83
#ifndef __BORLANDC__
187
84
#define HAVE_SYS_UTIME_H 1
190
/* Define if you have the <sys/types.h> header file. */
191
#define HAVE_SYS_TYPES_H 1
193
87
/* Define if you have the <termio.h> header file. */
194
88
/* #define HAVE_TERMIO_H 1 */
196
90
/* Define if you have the <termios.h> header file. */
197
91
/* #define HAVE_TERMIOS_H 1 */
199
/* Name of package */
200
#define PACKAGE "curl"
202
/* Define if you have the <io.h> header file. */
205
93
/* Define if you have the <time.h> header file. */
206
94
#define HAVE_TIME_H 1
96
/* Define if you have the <unistd.h> header file. */
97
#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__) || \
99
#define HAVE_UNISTD_H 1
102
/* Define if you have the <windows.h> header file. */
103
#define HAVE_WINDOWS_H 1
208
105
/* Define if you have the <winsock.h> header file. */
209
106
#define HAVE_WINSOCK_H 1
211
109
/* Define if you have the <winsock2.h> header file. */
212
110
#define HAVE_WINSOCK2_H 1
214
112
/* Define if you have the <ws2tcpip.h> header file. */
215
113
#define HAVE_WS2TCPIP_H 1
217
/* Define if you have the <stdlib.h> header file. */
218
#define HAVE_STDLIB_H 1
116
/* ---------------------------------------------------------------- */
117
/* OTHER HEADER INFO */
118
/* ---------------------------------------------------------------- */
120
/* Define if you have the ANSI C header files. */
121
#define STDC_HEADERS 1
123
/* Define if you can safely include both <sys/time.h> and <time.h>. */
124
/* #define TIME_WITH_SYS_TIME 1 */
126
/* ---------------------------------------------------------------- */
128
/* ---------------------------------------------------------------- */
220
130
/* Define if you have the closesocket function. */
221
131
#define HAVE_CLOSESOCKET 1
223
/* Define if you have the setvbuf function. */
224
#define HAVE_SETVBUF 1
133
/* Define if you don't have vprintf but do have _doprnt. */
134
/* #define HAVE_DOPRNT 1 */
136
/* Define if you have the gethostbyaddr function. */
137
#define HAVE_GETHOSTBYADDR 1
139
/* Define if you have the gethostname function. */
140
#define HAVE_GETHOSTNAME 1
142
/* Define if you have the getpass function. */
143
/* #define HAVE_GETPASS 1 */
145
/* Define if you have the getservbyname function. */
146
#define HAVE_GETSERVBYNAME 1
148
/* Define if you have the getprotobyname function. */
149
#define HAVE_GETPROTOBYNAME
151
/* Define if you have the gettimeofday function. */
152
/* #define HAVE_GETTIMEOFDAY 1 */
154
/* Define if you have the inet_addr function. */
155
#define HAVE_INET_ADDR 1
157
/* Define if you have the inet_ntoa function. */
158
#define HAVE_INET_NTOA 1
160
/* Define if you have the ioctlsocket function. */
161
#define HAVE_IOCTLSOCKET 1
163
/* Define if you have the perror function. */
164
#define HAVE_PERROR 1
226
166
/* Define if you have the RAND_screen function when using SSL */
227
167
#define HAVE_RAND_SCREEN 1
229
/* Define if you have the `RAND_status' function. */
169
/* Define if you have the `RAND_status' function when using SSL. */
230
170
#define HAVE_RAND_STATUS 1
232
/* Define this to if in_addr_t is not an available typedefed type */
172
/* Define if you have the select function. */
173
#define HAVE_SELECT 1
175
/* Define if you have the setvbuf function. */
176
#define HAVE_SETVBUF 1
178
/* Define if you have the socket function. */
179
#define HAVE_SOCKET 1
181
/* Define if you have the strcasecmp function. */
182
/* #define HAVE_STRCASECMP 1 */
184
/* Define if you have the stricmp function. */
185
#define HAVE_STRICMP 1
187
/* Define if you have the strdup function. */
188
#define HAVE_STRDUP 1
190
/* Define if you have the strftime function. */
191
#define HAVE_STRFTIME 1
193
/* Define if you have the strstr function. */
194
#define HAVE_STRSTR 1
196
/* Define if you have the strtoll function. */
197
#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__POCC__)
198
#define HAVE_STRTOLL 1
201
/* Define if you have the tcgetattr function. */
202
/* #define HAVE_TCGETATTR 1 */
204
/* Define if you have the tcsetattr function. */
205
/* #define HAVE_TCSETATTR 1 */
207
/* Define if you have the uname function. */
208
/* #define HAVE_UNAME 1 */
210
/* Define if you have the utime function */
215
/* Define if you have the vprintf function. */
216
#define HAVE_VPRINTF 1
218
/* ---------------------------------------------------------------- */
219
/* TYPEDEF REPLACEMENTS */
220
/* ---------------------------------------------------------------- */
222
/* Define this if in_addr_t is not an available 'typedefed' type */
233
223
#define in_addr_t unsigned long
235
/* use ioctlsocket() for non-blocking sockets */
236
#define HAVE_IOCTLSOCKET
225
/* Define as the return type of signal handlers (int or void). */
226
/* #define RETSIGTYPE void */
228
/* Define to `unsigned' if size_t is not an available 'typedefed' type */
229
/* #define size_t unsigned */
231
/* Define to 'int' if ssize_t is not an available 'typedefed' type */
232
#if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__)
237
/* Define to 'int' if socklen_t is not an available 'typedefed' type */
238
#ifndef HAVE_WS2TCPIP_H
239
#define socklen_t int
242
/* ---------------------------------------------------------------- */
244
/* ---------------------------------------------------------------- */
246
/* The number of bytes in a long double. */
247
#define SIZEOF_LONG_DOUBLE 16
249
/* The number of bytes in a long long. */
250
/* #define SIZEOF_LONG_LONG 8 */
252
/* Undef SIZEOF_CURL_OFF_T if already defined. */
253
#ifdef SIZEOF_CURL_OFF_T
254
#undef SIZEOF_CURL_OFF_T
257
/* Define SIZEOF_CURL_OFF_T as computed by sizeof(curl_off_t) */
258
/* Borland/PellesC/SalfordC lacks _lseeki64(), so we don't support
261
#if defined(__BORLANDC__) || defined(__POCC__) || defined(__SALFORDC__)
262
#define SIZEOF_CURL_OFF_T 4
264
#define SIZEOF_CURL_OFF_T 8
267
/* ---------------------------------------------------------------- */
269
/* ---------------------------------------------------------------- */
238
271
/* Define this if you have struct sockaddr_storage */
239
#define HAVE_STRUCT_SOCKADDR_STORAGE
273
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
276
/* ---------------------------------------------------------------- */
277
/* COMPILER SPECIFIC */
278
/* ---------------------------------------------------------------- */
280
/* Undef keyword 'const' if it does not work. */
283
/* ---------------------------------------------------------------- */
284
/* LDAP LIBRARY FILES */
285
/* ---------------------------------------------------------------- */
241
287
/* lber dynamic library file */
242
/* #undef DL_LBER_FILE */
244
/* Defines set for VS2005 to _not_ deprecate a few functions we use. */
245
#define _CRT_SECURE_NO_DEPRECATE
246
#define _CRT_NONSTDC_NO_DEPRECATE
288
/* #define DL_LBER_FILE */
248
290
/* ldap dynamic library file */
249
291
#define DL_LDAP_FILE "wldap32.dll"
251
/*************************************************
252
* This section is for compiler specific defines.*
253
*************************************************/
254
/* Borland and MS don't have this */
255
#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
257
/* Define if you have the <unistd.h> header file. */
258
#define HAVE_UNISTD_H 1
293
/* ---------------------------------------------------------------- */
294
/* ADDITIONAL DEFINITIONS */
295
/* ---------------------------------------------------------------- */
297
/* Defines set for VS2005 to _not_ deprecate a few functions we use. */
298
#define _CRT_SECURE_NO_DEPRECATE 1
299
#define _CRT_NONSTDC_NO_DEPRECATE 1
301
/* Define cpu-machine-OS */
303
#define OS "i386-pc-win32"
305
/* Name of package */
306
#define PACKAGE "curl"
309
#endif /* __LIB_CONFIG_WIN32_H */