157
160
/* Define if you have the inet_addr function. */
158
161
#define HAVE_INET_ADDR 1
160
/* Define if you have the inet_ntoa function. */
161
#define HAVE_INET_NTOA 1
163
/* Define if you have the ioctlsocket function. */
163
/* Define if you have the ioctlsocket function. */
164
164
#define HAVE_IOCTLSOCKET 1
166
/* Define if you have a working ioctlsocket FIONBIO function. */
167
#define HAVE_IOCTLSOCKET_FIONBIO 1
166
169
/* Define if you have the perror function. */
167
170
#define HAVE_PERROR 1
184
191
/* Define if you have the strcasecmp function. */
185
192
/* #define HAVE_STRCASECMP 1 */
187
/* Define if you have the stricmp function. */
188
#define HAVE_STRICMP 1
190
194
/* Define if you have the strdup function. */
191
195
#define HAVE_STRDUP 1
193
197
/* Define if you have the strftime function. */
194
198
#define HAVE_STRFTIME 1
200
/* Define if you have the stricmp function. */
201
#define HAVE_STRICMP 1
203
/* Define if you have the strncasecmp function. */
204
/* #define HAVE_STRNCASECMP 1 */
206
/* Define if you have the strnicmp function. */
207
#define HAVE_STRNICMP 1
196
209
/* Define if you have the strstr function. */
197
210
#define HAVE_STRSTR 1
248
258
/* Define to the function return type for recv. */
249
259
#define RECV_TYPE_RETV int
261
/* Define if you have the recvfrom function. */
262
#define HAVE_RECVFROM 1
264
/* Define to the type of arg 1 for recvfrom. */
265
#define RECVFROM_TYPE_ARG1 SOCKET
267
/* Define to the type pointed by arg 2 for recvfrom. */
268
#define RECVFROM_TYPE_ARG2 char
270
/* Define to the type of arg 3 for recvfrom. */
271
#define RECVFROM_TYPE_ARG3 int
273
/* Define to the type of arg 4 for recvfrom. */
274
#define RECVFROM_TYPE_ARG4 int
276
/* Define to the type pointed by arg 5 for recvfrom. */
277
#define RECVFROM_TYPE_ARG5 struct sockaddr
279
/* Define to the type pointed by arg 6 for recvfrom. */
280
#define RECVFROM_TYPE_ARG6 int
282
/* Define to the function return type for recvfrom. */
283
#define RECVFROM_TYPE_RETV int
251
285
/* Define if you have the send function. */
252
286
#define HAVE_SEND 1
300
334
/* The number of bytes in a long long. */
301
335
/* #define SIZEOF_LONG_LONG 8 */
303
/* Undef SIZEOF_CURL_OFF_T if already defined. */
304
#ifdef SIZEOF_CURL_OFF_T
305
#undef SIZEOF_CURL_OFF_T
308
/* Define SIZEOF_CURL_OFF_T as computed by sizeof(curl_off_t) */
309
/* Borland/PellesC/SalfordC lacks _lseeki64(), so we don't support
312
#if defined(__BORLANDC__) || defined(__POCC__) || defined(__SALFORDC__)
313
#define SIZEOF_CURL_OFF_T 4
315
#define SIZEOF_CURL_OFF_T 8
318
337
/* ---------------------------------------------------------------- */
319
338
/* STRUCT RELATED */
320
339
/* ---------------------------------------------------------------- */
328
347
#define HAVE_STRUCT_TIMEVAL 1
330
349
/* ---------------------------------------------------------------- */
350
/* Watt-32 tcp/ip SPECIFIC */
351
/* ---------------------------------------------------------------- */
358
#undef HAVE_WINSOCK_H
359
#undef HAVE_WINSOCK2_H
360
#undef HAVE_WS2TCPIP_H
361
#define HAVE_GETADDRINFO
362
#define HAVE_GETNAMEINFO
363
#define HAVE_SYS_IOCTL_H
364
#define HAVE_SYS_SOCKET_H
365
#define HAVE_NETINET_IN_H
367
#define HAVE_ARPA_INET_H
368
#define HAVE_FREEADDRINFO
373
/* ---------------------------------------------------------------- */
331
374
/* COMPILER SPECIFIC */
332
375
/* ---------------------------------------------------------------- */
366
/* VS2008 does not support Windows build targets prior to WinXP, */
367
/* so, if no build target has been defined we will target WinXP. */
409
/* Officially, Microsoft's Windows SDK versions 6.X do not support Windows
410
2000 as a supported build target. VS2008 default installations provide an
411
embedded Windows SDK v6.0A along with the claim that Windows 2000 is a
412
valid build target for VS2008. Popular belief is that binaries built using
413
Windows SDK versions 6.X and Windows 2000 as a build target are functional */
414
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
415
# define VS2008_MINIMUM_TARGET 0x0500
418
/* When no build target is specified VS2008 default build target is Windows
419
Vista, which leaves out even Winsows XP. If no build target has been given
420
for VS2008 we will target the minimum Officially supported build target,
421
which happens to be Windows XP. */
422
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
423
# define VS2008_DEFAULT_TARGET 0x0501
426
/* VS2008 default target settings and minimum build target check */
368
427
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
369
428
# ifndef _WIN32_WINNT
370
# define _WIN32_WINNT 0x0501
429
# define _WIN32_WINNT VS2008_DEFAULT_TARGET
373
# define WINVER 0x0501
375
# if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501)
376
# error VS2008 does not support Windows build targets prior to WinXP
432
# define WINVER VS2008_DEFAULT_TARGET
434
# if (_WIN32_WINNT < VS2008_MINIMUM_TARGET) || (WINVER < VS2008_MINIMUM_TARGET)
435
# error VS2008 does not support Windows build targets prior to Windows 2000
439
/* Availability of freeaddrinfo, getaddrinfo and getnameinfo functions is
440
quite convoluted, compiler dependant and in some cases even build target
442
#if defined(HAVE_WS2TCPIP_H)
443
# if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0501)
444
# define HAVE_FREEADDRINFO 1
445
# define HAVE_GETADDRINFO 1
446
# define HAVE_GETNAMEINFO 1
447
# elif defined(_MSC_VER) && (_MSC_VER >= 1200)
448
# define HAVE_FREEADDRINFO 1
449
# define HAVE_GETADDRINFO 1
450
# define HAVE_GETNAMEINFO 1
454
/* ---------------------------------------------------------------- */
455
/* LARGE FILE SUPPORT */
456
/* ---------------------------------------------------------------- */
458
#if defined(_MSC_VER) && !defined(_WIN32_WCE)
459
# if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
460
# define USE_WIN32_LARGE_FILES
462
# define USE_WIN32_SMALL_FILES
466
#if defined(__MINGW32__) && !defined(USE_WIN32_LARGE_FILES)
467
# define USE_WIN32_LARGE_FILES
470
#if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
471
# define USE_WIN32_SMALL_FILES
380
474
/* ---------------------------------------------------------------- */