157
157
/* Define if you have the inet_addr function. */
158
158
#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. */
160
/* Define if you have the ioctlsocket function. */
164
161
#define HAVE_IOCTLSOCKET 1
163
/* Define if you have a working ioctlsocket FIONBIO function. */
164
#define HAVE_IOCTLSOCKET_FIONBIO 1
166
166
/* Define if you have the perror function. */
167
167
#define HAVE_PERROR 1
184
188
/* Define if you have the strcasecmp function. */
185
189
/* #define HAVE_STRCASECMP 1 */
187
/* Define if you have the stricmp function. */
188
#define HAVE_STRICMP 1
190
191
/* Define if you have the strdup function. */
191
192
#define HAVE_STRDUP 1
193
194
/* Define if you have the strftime function. */
194
195
#define HAVE_STRFTIME 1
197
/* Define if you have the stricmp function. */
198
#define HAVE_STRICMP 1
200
/* Define if you have the strncasecmp function. */
201
/* #define HAVE_STRNCASECMP 1 */
203
/* Define if you have the strnicmp function. */
204
#define HAVE_STRNICMP 1
196
206
/* Define if you have the strstr function. */
197
207
#define HAVE_STRSTR 1
248
255
/* Define to the function return type for recv. */
249
256
#define RECV_TYPE_RETV int
258
/* Define if you have the recvfrom function. */
259
#define HAVE_RECVFROM 1
261
/* Define to the type of arg 1 for recvfrom. */
262
#define RECVFROM_TYPE_ARG1 SOCKET
264
/* Define to the type pointed by arg 2 for recvfrom. */
265
#define RECVFROM_TYPE_ARG2 char
267
/* Define to the type of arg 3 for recvfrom. */
268
#define RECVFROM_TYPE_ARG3 int
270
/* Define to the type of arg 4 for recvfrom. */
271
#define RECVFROM_TYPE_ARG4 int
273
/* Define to the type pointed by arg 5 for recvfrom. */
274
#define RECVFROM_TYPE_ARG5 struct sockaddr
276
/* Define to the type pointed by arg 6 for recvfrom. */
277
#define RECVFROM_TYPE_ARG6 int
279
/* Define to the function return type for recvfrom. */
280
#define RECVFROM_TYPE_RETV int
251
282
/* Define if you have the send function. */
252
283
#define HAVE_SEND 1
300
331
/* The number of bytes in a long long. */
301
332
/* #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
334
/* ---------------------------------------------------------------- */
319
335
/* STRUCT RELATED */
320
336
/* ---------------------------------------------------------------- */
328
344
#define HAVE_STRUCT_TIMEVAL 1
330
346
/* ---------------------------------------------------------------- */
347
/* Watt-32 tcp/ip SPECIFIC */
348
/* ---------------------------------------------------------------- */
355
#undef HAVE_WINSOCK_H
356
#undef HAVE_WINSOCK2_H
357
#undef HAVE_WS2TCPIP_H
358
#define HAVE_GETADDRINFO
359
#define HAVE_GETNAMEINFO
360
#define HAVE_SYS_IOCTL_H
361
#define HAVE_SYS_SOCKET_H
362
#define HAVE_NETINET_IN_H
364
#define HAVE_ARPA_INET_H
365
#define HAVE_FREEADDRINFO
370
/* ---------------------------------------------------------------- */
331
371
/* COMPILER SPECIFIC */
332
372
/* ---------------------------------------------------------------- */
366
/* VS2008 does not support Windows build targets prior to WinXP, */
367
/* so, if no build target has been defined we will target WinXP. */
406
/* Officially, Microsoft's Windows SDK versions 6.X do not support Windows
407
2000 as a supported build target. VS2008 default installations provide an
408
embedded Windows SDK v6.0A along with the claim that Windows 2000 is a
409
valid build target for VS2008. Popular belief is that binaries built using
410
Windows SDK versions 6.X and Windows 2000 as a build target are functional */
411
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
412
# define VS2008_MINIMUM_TARGET 0x0500
415
/* When no build target is specified VS2008 default build target is Windows
416
Vista, which leaves out even Winsows XP. If no build target has been given
417
for VS2008 we will target the minimum Officially supported build target,
418
which happens to be Windows XP. */
419
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
420
# define VS2008_DEFAULT_TARGET 0x0501
423
/* VS2008 default target settings and minimum build target check */
368
424
#if defined(_MSC_VER) && (_MSC_VER >= 1500)
369
425
# ifndef _WIN32_WINNT
370
# define _WIN32_WINNT 0x0501
426
# 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
429
# define WINVER VS2008_DEFAULT_TARGET
431
# if (_WIN32_WINNT < VS2008_MINIMUM_TARGET) || (WINVER < VS2008_MINIMUM_TARGET)
432
# error VS2008 does not support Windows build targets prior to Windows 2000
436
/* Availability of freeaddrinfo, getaddrinfo and getnameinfo functions is
437
quite convoluted, compiler dependant and in some cases even build target
439
#if defined(HAVE_WS2TCPIP_H)
440
# if defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0501)
441
# define HAVE_FREEADDRINFO 1
442
# define HAVE_GETADDRINFO 1
443
# define HAVE_GETNAMEINFO 1
444
# elif defined(_MSC_VER) && (_MSC_VER >= 1200)
445
# define HAVE_FREEADDRINFO 1
446
# define HAVE_GETADDRINFO 1
447
# define HAVE_GETNAMEINFO 1
451
/* ---------------------------------------------------------------- */
452
/* LARGE FILE SUPPORT */
453
/* ---------------------------------------------------------------- */
455
#if defined(_MSC_VER) && !defined(_WIN32_WCE)
456
# if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
457
# define USE_WIN32_LARGE_FILES
459
# define USE_WIN32_SMALL_FILES
463
#if defined(__MINGW32__) && !defined(USE_WIN32_LARGE_FILES)
464
# define USE_WIN32_LARGE_FILES
467
#if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
468
# define USE_WIN32_SMALL_FILES
380
471
/* ---------------------------------------------------------------- */