334
334
/* ---------------------------------------------------------------- */
336
/* The number of bytes in a long double. */
336
/* The size of `int', as computed by sizeof. */
339
/* The size of `long double', as computed by sizeof. */
337
340
#define SIZEOF_LONG_DOUBLE 16
339
/* The number of bytes in a long long. */
342
/* The size of `long long', as computed by sizeof. */
340
343
/* #define SIZEOF_LONG_LONG 8 */
345
/* The size of `short', as computed by sizeof. */
346
#define SIZEOF_SHORT 2
342
348
/* ---------------------------------------------------------------- */
343
349
/* STRUCT RELATED */
344
350
/* ---------------------------------------------------------------- */
456
462
quite convoluted, compiler dependent and even build target dependent. */
457
463
#if defined(HAVE_WS2TCPIP_H)
458
464
# if defined(__POCC__)
459
# define HAVE_FREEADDRINFO 1
460
# define HAVE_GETADDRINFO 1
461
# define HAVE_GETNAMEINFO 1
465
# define HAVE_FREEADDRINFO 1
466
# define HAVE_GETADDRINFO 1
467
# define HAVE_GETADDRINFO_THREADSAFE 1
468
# define HAVE_GETNAMEINFO 1
462
469
# elif defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0501)
463
# define HAVE_FREEADDRINFO 1
464
# define HAVE_GETADDRINFO 1
465
# define HAVE_GETNAMEINFO 1
470
# define HAVE_FREEADDRINFO 1
471
# define HAVE_GETADDRINFO 1
472
# define HAVE_GETADDRINFO_THREADSAFE 1
473
# define HAVE_GETNAMEINFO 1
466
474
# elif defined(_MSC_VER) && (_MSC_VER >= 1200)
467
# define HAVE_FREEADDRINFO 1
468
# define HAVE_GETADDRINFO 1
469
# define HAVE_GETNAMEINFO 1
475
# define HAVE_FREEADDRINFO 1
476
# define HAVE_GETADDRINFO 1
477
# define HAVE_GETADDRINFO_THREADSAFE 1
478
# define HAVE_GETNAMEINFO 1
506
515
/* ---------------------------------------------------------------- */
516
/* DNS RESOLVER SPECIALTY */
517
/* ---------------------------------------------------------------- */
520
* Undefine both USE_ARES and USE_THREADS_WIN32 for synchronous DNS
523
/* Define USE_ARES to enable c-ares asynchronous DNS lookups */
524
/* #define USE_ARES 1 */
526
/* Define USE_THREADS_WIN32 to enable threaded asynchronous DNS lookups */
527
#define USE_THREADS_WIN32 1
529
#if defined(USE_ARES) && defined(USE_THREADS_WIN32)
530
# error "Only one DNS lookup specialty may be defined at most"
533
/* ---------------------------------------------------------------- */
507
534
/* LDAP SUPPORT */
508
535
/* ---------------------------------------------------------------- */
510
537
#if defined(CURL_HAS_NOVELL_LDAPSDK) || defined(CURL_HAS_MOZILLA_LDAPSDK)
511
#undef CURL_LDAP_HYBRID
512
538
#undef CURL_LDAP_WIN
513
539
#define HAVE_LDAP_SSL_H 1
514
540
#define HAVE_LDAP_URL_PARSE 1
515
541
#elif defined(CURL_HAS_OPENLDAP_LDAPSDK)
516
#undef CURL_LDAP_HYBRID
517
542
#undef CURL_LDAP_WIN
518
543
#define HAVE_LDAP_URL_PARSE 1
520
#undef CURL_LDAP_HYBRID
521
545
#undef HAVE_LDAP_URL_PARSE
522
546
#define CURL_LDAP_WIN 1