Changeset View
Changeset View
Standalone View
Standalone View
contrib/ldns/ldns/config.h
Show All 25 Lines | |||||
/* #undef HAVE_B64_PTON */ | /* #undef HAVE_B64_PTON */ | ||||
/* Define to 1 if you have the `bzero' function. */ | /* Define to 1 if you have the `bzero' function. */ | ||||
#define HAVE_BZERO 1 | #define HAVE_BZERO 1 | ||||
/* Define to 1 if you have the `calloc' function. */ | /* Define to 1 if you have the `calloc' function. */ | ||||
#define HAVE_CALLOC 1 | #define HAVE_CALLOC 1 | ||||
/* Define to 1 if you have the `CONF_modules_unload' function. */ | |||||
#define HAVE_CONF_MODULES_UNLOAD 1 | |||||
/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */ | |||||
/* #undef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA */ | |||||
/* Define to 1 if you have the `CRYPTO_memcmp' function. */ | |||||
#define HAVE_CRYPTO_MEMCMP 1 | |||||
/* Define to 1 if you have the `ctime_r' function. */ | /* Define to 1 if you have the `ctime_r' function. */ | ||||
#define HAVE_CTIME_R 1 | #define HAVE_CTIME_R 1 | ||||
/* Is a CAFILE given at configure time */ | /* Is a CAFILE given at configure time */ | ||||
#define HAVE_DANE_CA_FILE 0 | #define HAVE_DANE_CA_FILE 0 | ||||
/* Is a CAPATH given at configure time */ | /* Is a CAPATH given at configure time */ | ||||
#define HAVE_DANE_CA_PATH 0 | #define HAVE_DANE_CA_PATH 0 | ||||
/* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you | /* Define to 1 if you have the declaration of `EVP_PKEY_base_id', and to 0 if | ||||
you don't. */ | |||||
#define HAVE_DECL_EVP_PKEY_BASE_ID 1 | |||||
/* Define to 1 if you have the declaration of `NID_ED25519', and to 0 if you | |||||
don't. */ | don't. */ | ||||
#define HAVE_DECL_NID_SECP384R1 1 | #define HAVE_DECL_NID_ED25519 1 | ||||
/* Define to 1 if you have the declaration of `NID_X25519', and to 0 if you | /* Define to 1 if you have the declaration of `NID_ED448', and to 0 if you | ||||
don't. */ | don't. */ | ||||
/* #undef HAVE_DECL_NID_X25519 */ | #define HAVE_DECL_NID_ED448 1 | ||||
/* Define to 1 if you have the declaration of `NID_X448', and to 0 if you | /* Define to 1 if you have the declaration of `NID_secp384r1', and to 0 if you | ||||
don't. */ | don't. */ | ||||
/* #undef HAVE_DECL_NID_X448 */ | #define HAVE_DECL_NID_SECP384R1 1 | ||||
/* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0 | /* Define to 1 if you have the declaration of `NID_X9_62_prime256v1', and to 0 | ||||
if you don't. */ | if you don't. */ | ||||
#define HAVE_DECL_NID_X9_62_PRIME256V1 1 | #define HAVE_DECL_NID_X9_62_PRIME256V1 1 | ||||
/* Define to 1 if you have the <dlfcn.h> header file. */ | /* Define to 1 if you have the <dlfcn.h> header file. */ | ||||
#define HAVE_DLFCN_H 1 | #define HAVE_DLFCN_H 1 | ||||
Show All 13 Lines | |||||
#define HAVE_ECDSA_SIG_GET0 1 | #define HAVE_ECDSA_SIG_GET0 1 | ||||
/* Define to 1 if you have the `endprotoent' function. */ | /* Define to 1 if you have the `endprotoent' function. */ | ||||
#define HAVE_ENDPROTOENT 1 | #define HAVE_ENDPROTOENT 1 | ||||
/* Define to 1 if you have the `endservent' function. */ | /* Define to 1 if you have the `endservent' function. */ | ||||
#define HAVE_ENDSERVENT 1 | #define HAVE_ENDSERVENT 1 | ||||
/* Define to 1 if you have the `ENGINE_load_cryptodev' function. */ | /* Define to 1 if you have the `ENGINE_cleanup' function. */ | ||||
#define HAVE_ENGINE_LOAD_CRYPTODEV 1 | /* #undef HAVE_ENGINE_CLEANUP */ | ||||
/* Define to 1 if you have the `ENGINE_free' function. */ | |||||
#define HAVE_ENGINE_FREE 1 | |||||
/* Define to 1 if you have the `ERR_free_strings' function. */ | |||||
/* #undef HAVE_ERR_FREE_STRINGS */ | |||||
/* Define to 1 if you have the `ERR_load_crypto_strings' function. */ | |||||
/* #undef HAVE_ERR_LOAD_CRYPTO_STRINGS */ | |||||
/* Define to 1 if you have the `EVP_cleanup' function. */ | |||||
/* #undef HAVE_EVP_CLEANUP */ | |||||
/* Define to 1 if you have the `EVP_dss1' function. */ | /* Define to 1 if you have the `EVP_dss1' function. */ | ||||
/* #undef HAVE_EVP_DSS1 */ | /* #undef HAVE_EVP_DSS1 */ | ||||
/* Define to 1 if you have the `EVP_MD_CTX_new' function. */ | /* Define to 1 if you have the `EVP_MD_CTX_new' function. */ | ||||
#define HAVE_EVP_MD_CTX_NEW 1 | #define HAVE_EVP_MD_CTX_NEW 1 | ||||
/* Define to 1 if you have the `EVP_PKEY_base_id' function. */ | /* Define to 1 if you have the EVP_PKEY_base_id function or macro. */ | ||||
#define HAVE_EVP_PKEY_BASE_ID 1 | #define HAVE_EVP_PKEY_BASE_ID 1 | ||||
/* Define to 1 if you have the `EVP_PKEY_get_base_id' function. */ | |||||
/* #undef HAVE_EVP_PKEY_GET_BASE_ID */ | |||||
/* Define to 1 if you have the `EVP_PKEY_keygen' function. */ | /* Define to 1 if you have the `EVP_PKEY_keygen' function. */ | ||||
#define HAVE_EVP_PKEY_KEYGEN 1 | #define HAVE_EVP_PKEY_KEYGEN 1 | ||||
/* Define to 1 if you have the `EVP_sha256' function. */ | /* Define to 1 if you have the `EVP_sha256' function. */ | ||||
#define HAVE_EVP_SHA256 1 | #define HAVE_EVP_SHA256 1 | ||||
/* Define to 1 if you have the `EVP_sha384' function. */ | /* Define to 1 if you have the `EVP_sha384' function. */ | ||||
#define HAVE_EVP_SHA384 1 | #define HAVE_EVP_SHA384 1 | ||||
/* Define to 1 if you have the `EVP_sha512' function. */ | /* Define to 1 if you have the `EVP_sha512' function. */ | ||||
#define HAVE_EVP_SHA512 1 | #define HAVE_EVP_SHA512 1 | ||||
/* Define to 1 if you have the `fcntl' function. */ | /* Define to 1 if you have the `fcntl' function. */ | ||||
#define HAVE_FCNTL 1 | #define HAVE_FCNTL 1 | ||||
/* Define to 1 if you have the `fork' function. */ | /* Define to 1 if you have the `fork' function. */ | ||||
#define HAVE_FORK 1 | #define HAVE_FORK 1 | ||||
/* if fork is available for compile */ | |||||
#define HAVE_FORK_AVAILABLE 1 | |||||
/* Whether getaddrinfo is available */ | /* Whether getaddrinfo is available */ | ||||
#define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO 1 | ||||
/* Define to 1 if you have the <getopt.h> header file. */ | /* Define to 1 if you have the <getopt.h> header file. */ | ||||
#define HAVE_GETOPT_H 1 | #define HAVE_GETOPT_H 1 | ||||
/* Define to 1 if you have the `gmtime_r' function. */ | /* Define to 1 if you have the `gmtime_r' function. */ | ||||
#define HAVE_GMTIME_R 1 | #define HAVE_GMTIME_R 1 | ||||
/* If you have HMAC_Update */ | |||||
#define HAVE_HMAC_UPDATE 1 | |||||
/* Define to 1 if you have the `inet_aton' function. */ | /* Define to 1 if you have the `inet_aton' function. */ | ||||
#define HAVE_INET_ATON 1 | #define HAVE_INET_ATON 1 | ||||
/* Define to 1 if you have the `inet_ntop' function. */ | /* Define to 1 if you have the `inet_ntop' function. */ | ||||
#define HAVE_INET_NTOP 1 | #define HAVE_INET_NTOP 1 | ||||
/* Define to 1 if you have the `inet_pton' function. */ | /* Define to 1 if you have the `inet_pton' function. */ | ||||
#define HAVE_INET_PTON 1 | #define HAVE_INET_PTON 1 | ||||
Show All 14 Lines | |||||
/* #undef HAVE_LIBPCAP */ | /* #undef HAVE_LIBPCAP */ | ||||
/* Define if we have LibreSSL */ | /* Define if we have LibreSSL */ | ||||
/* #undef HAVE_LIBRESSL */ | /* #undef HAVE_LIBRESSL */ | ||||
/* Define to 1 if you have the `localtime_r' function. */ | /* Define to 1 if you have the `localtime_r' function. */ | ||||
#define HAVE_LOCALTIME_R 1 | #define HAVE_LOCALTIME_R 1 | ||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and | |||||
to 0 otherwise. */ | |||||
#define HAVE_MALLOC 1 | |||||
/* Define to 1 if you have the `memmove' function. */ | /* Define to 1 if you have the `memmove' function. */ | ||||
#define HAVE_MEMMOVE 1 | #define HAVE_MEMMOVE 1 | ||||
/* Define to 1 if you have the <memory.h> header file. */ | |||||
#define HAVE_MEMORY_H 1 | |||||
/* Define to 1 if you have the `memset' function. */ | /* Define to 1 if you have the `memset' function. */ | ||||
#define HAVE_MEMSET 1 | #define HAVE_MEMSET 1 | ||||
/* Define to 1 if you have the <minix/config.h> header file. */ | |||||
/* #undef HAVE_MINIX_CONFIG_H */ | |||||
/* Define to 1 if you have the <netdb.h> header file. */ | /* Define to 1 if you have the <netdb.h> header file. */ | ||||
#define HAVE_NETDB_H 1 | #define HAVE_NETDB_H 1 | ||||
/* Define to 1 if you have the <netinet/if_ether.h> header file. */ | /* Define to 1 if you have the <netinet/if_ether.h> header file. */ | ||||
/* #undef HAVE_NETINET_IF_ETHER_H */ | /* #undef HAVE_NETINET_IF_ETHER_H */ | ||||
/* Define to 1 if you have the <netinet/igmp.h> header file. */ | /* Define to 1 if you have the <netinet/igmp.h> header file. */ | ||||
/* #undef HAVE_NETINET_IGMP_H */ | /* #undef HAVE_NETINET_IGMP_H */ | ||||
Show All 17 Lines | |||||
/* #undef HAVE_NETINET_UDP_H */ | /* #undef HAVE_NETINET_UDP_H */ | ||||
/* Define to 1 if you have the <net/ethernet.h> header file. */ | /* Define to 1 if you have the <net/ethernet.h> header file. */ | ||||
/* #undef HAVE_NET_ETHERNET_H */ | /* #undef HAVE_NET_ETHERNET_H */ | ||||
/* Define to 1 if you have the <net/if.h> header file. */ | /* Define to 1 if you have the <net/if.h> header file. */ | ||||
/* #undef HAVE_NET_IF_H */ | /* #undef HAVE_NET_IF_H */ | ||||
/* Define to 1 if you have the <openssl/conf.h> header file. */ | |||||
#define HAVE_OPENSSL_CONF_H 1 | |||||
/* Define to 1 if you have the <openssl/engine.h> header file. */ | |||||
#define HAVE_OPENSSL_ENGINE_H 1 | |||||
/* Define to 1 if you have the <openssl/err.h> header file. */ | /* Define to 1 if you have the <openssl/err.h> header file. */ | ||||
#define HAVE_OPENSSL_ERR_H 1 | #define HAVE_OPENSSL_ERR_H 1 | ||||
/* Define to 1 if you have the <openssl/evp.h> header file. */ | |||||
#define HAVE_OPENSSL_EVP_H 1 | |||||
/* Define to 1 if you have the `OPENSSL_init_crypto' function. */ | |||||
#define HAVE_OPENSSL_INIT_CRYPTO 1 | |||||
/* Define to 1 if you have the `OPENSSL_init_ssl' function. */ | |||||
/* #undef HAVE_OPENSSL_INIT_SSL */ | |||||
/* Define to 1 if you have the <openssl/rand.h> header file. */ | /* Define to 1 if you have the <openssl/rand.h> header file. */ | ||||
#define HAVE_OPENSSL_RAND_H 1 | #define HAVE_OPENSSL_RAND_H 1 | ||||
/* Define to 1 if you have the <openssl/ssl.h> header file. */ | /* Define to 1 if you have the <openssl/ssl.h> header file. */ | ||||
#define HAVE_OPENSSL_SSL_H 1 | #define HAVE_OPENSSL_SSL_H 1 | ||||
/* Define to 1 if you have the <pcap.h> header file. */ | /* Define to 1 if you have the <pcap.h> header file. */ | ||||
/* #undef HAVE_PCAP_H */ | /* #undef HAVE_PCAP_H */ | ||||
/* This platform supports poll(7). */ | /* This platform supports poll(7). */ | ||||
#define HAVE_POLL 1 | #define HAVE_POLL 1 | ||||
/* If available, contains the Python version number currently in use. */ | /* If available, contains the Python version number currently in use. */ | ||||
/* #undef HAVE_PYTHON */ | /* #undef HAVE_PYTHON */ | ||||
/* Define to 1 if you have the `random' function. */ | /* Define to 1 if you have the `random' function. */ | ||||
#define HAVE_RANDOM 1 | #define HAVE_RANDOM 1 | ||||
/* Define to 1 if your system has a GNU libc compatible `realloc' function, | |||||
and to 0 otherwise. */ | |||||
#define HAVE_REALLOC 1 | |||||
/* Define to 1 if you have the `sleep' function. */ | /* Define to 1 if you have the `sleep' function. */ | ||||
#define HAVE_SLEEP 1 | #define HAVE_SLEEP 1 | ||||
/* Define to 1 if you have the `snprintf' function. */ | /* Define to 1 if you have the `snprintf' function. */ | ||||
#define HAVE_SNPRINTF 1 | #define HAVE_SNPRINTF 1 | ||||
/* Define if you have the SSL libraries installed. */ | /* Define if you have the SSL libraries installed. */ | ||||
#define HAVE_SSL /**/ | #define HAVE_SSL /**/ | ||||
/* Define to 1 if you have the <stdarg.h> header file. */ | /* Define to 1 if you have the <stdarg.h> header file. */ | ||||
#define HAVE_STDARG_H 1 | #define HAVE_STDARG_H 1 | ||||
/* Define to 1 if stdbool.h conforms to C99. */ | /* Define to 1 if stdbool.h conforms to C99. */ | ||||
#define HAVE_STDBOOL_H 1 | #define HAVE_STDBOOL_H 1 | ||||
/* Define to 1 if you have the <stdint.h> header file. */ | /* Define to 1 if you have the <stdint.h> header file. */ | ||||
#define HAVE_STDINT_H 1 | #define HAVE_STDINT_H 1 | ||||
/* Define to 1 if you have the <stdio.h> header file. */ | |||||
#define HAVE_STDIO_H 1 | |||||
/* Define to 1 if you have the <stdlib.h> header file. */ | /* Define to 1 if you have the <stdlib.h> header file. */ | ||||
#define HAVE_STDLIB_H 1 | #define HAVE_STDLIB_H 1 | ||||
/* Define to 1 if you have the <strings.h> header file. */ | /* Define to 1 if you have the <strings.h> header file. */ | ||||
#define HAVE_STRINGS_H 1 | #define HAVE_STRINGS_H 1 | ||||
/* Define to 1 if you have the <string.h> header file. */ | /* Define to 1 if you have the <string.h> header file. */ | ||||
#define HAVE_STRING_H 1 | #define HAVE_STRING_H 1 | ||||
Show All 17 Lines | |||||
#define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_SOCKET_H 1 | ||||
/* Define to 1 if you have the <sys/stat.h> header file. */ | /* Define to 1 if you have the <sys/stat.h> header file. */ | ||||
#define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_STAT_H 1 | ||||
/* define if you have sys/types.h */ | /* define if you have sys/types.h */ | ||||
#define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TYPES_H 1 | ||||
/* Define to 1 if you have the <TargetConditionals.h> header file. */ | |||||
/* #undef HAVE_TARGETCONDITIONALS_H */ | |||||
/* Define to 1 if you have the `timegm' function. */ | /* Define to 1 if you have the `timegm' function. */ | ||||
#define HAVE_TIMEGM 1 | #define HAVE_TIMEGM 1 | ||||
/* Define to 1 if you have the <time.h> header file. */ | /* Define to 1 if you have the <time.h> header file. */ | ||||
#define HAVE_TIME_H 1 | #define HAVE_TIME_H 1 | ||||
/* define if you have unistd.h */ | /* define if you have unistd.h */ | ||||
#define HAVE_UNISTD_H 1 | #define HAVE_UNISTD_H 1 | ||||
/* Define to 1 if you have the `vfork' function. */ | /* Define to 1 if you have the `vfork' function. */ | ||||
#define HAVE_VFORK 1 | #define HAVE_VFORK 1 | ||||
/* Define to 1 if you have the <vfork.h> header file. */ | /* Define to 1 if you have the <vfork.h> header file. */ | ||||
/* #undef HAVE_VFORK_H */ | /* #undef HAVE_VFORK_H */ | ||||
/* Define to 1 if you have the <wchar.h> header file. */ | |||||
#define HAVE_WCHAR_H 1 | |||||
/* Define to 1 if you have the <winsock2.h> header file. */ | /* Define to 1 if you have the <winsock2.h> header file. */ | ||||
/* #undef HAVE_WINSOCK2_H */ | /* #undef HAVE_WINSOCK2_H */ | ||||
/* Define to 1 if `fork' works. */ | /* Define to 1 if `fork' works. */ | ||||
#define HAVE_WORKING_FORK 1 | #define HAVE_WORKING_FORK 1 | ||||
/* Define to 1 if `vfork' works. */ | /* Define to 1 if `vfork' works. */ | ||||
#define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_VFORK 1 | ||||
Show All 15 Lines | |||||
/* Define to the address where bug reports for this package should be sent. */ | /* Define to the address where bug reports for this package should be sent. */ | ||||
#define PACKAGE_BUGREPORT "libdns@nlnetlabs.nl" | #define PACKAGE_BUGREPORT "libdns@nlnetlabs.nl" | ||||
/* Define to the full name of this package. */ | /* Define to the full name of this package. */ | ||||
#define PACKAGE_NAME "ldns" | #define PACKAGE_NAME "ldns" | ||||
/* Define to the full name and version of this package. */ | /* Define to the full name and version of this package. */ | ||||
#define PACKAGE_STRING "ldns 1.7.0" | #define PACKAGE_STRING "ldns 1.8.3" | ||||
/* Define to the one symbol short name of this package. */ | /* Define to the one symbol short name of this package. */ | ||||
#define PACKAGE_TARNAME "libdns" | #define PACKAGE_TARNAME "libdns" | ||||
/* Define to the home page for this package. */ | /* Define to the home page for this package. */ | ||||
#define PACKAGE_URL "" | #define PACKAGE_URL "" | ||||
/* Define to the version of this package. */ | /* Define to the version of this package. */ | ||||
#define PACKAGE_VERSION "1.7.0" | #define PACKAGE_VERSION "1.8.3" | ||||
/* Define this to enable RR type AMTRELAY. */ | |||||
/* #undef RRTYPE_AMTRELAY */ | |||||
/* Define this to enable RR type AVC. */ | /* Define this to enable RR type AVC. */ | ||||
/* #undef RRTYPE_AVC */ | /* #undef RRTYPE_AVC */ | ||||
/* Define this to enable RR type DOA. */ | |||||
/* #undef RRTYPE_DOA */ | |||||
/* Define this to enable RR type NINFO. */ | /* Define this to enable RR type NINFO. */ | ||||
/* #undef RRTYPE_NINFO */ | /* #undef RRTYPE_NINFO */ | ||||
/* Define this to enable RR type OPENPGPKEY. */ | /* Define this to enable RR type OPENPGPKEY. */ | ||||
#define RRTYPE_OPENPGPKEY /**/ | #define RRTYPE_OPENPGPKEY /**/ | ||||
/* Define this to enable RR type RKEY. */ | /* Define this to enable RR type RKEY. */ | ||||
/* #undef RRTYPE_RKEY */ | /* #undef RRTYPE_RKEY */ | ||||
/* Define this to enable RR types SVCB and HTTPS. */ | |||||
#define RRTYPE_SVCB_HTTPS /**/ | |||||
/* Define this to enable RR type TA. */ | /* Define this to enable RR type TA. */ | ||||
/* #undef RRTYPE_TA */ | /* #undef RRTYPE_TA */ | ||||
/* The size of `time_t', as computed by sizeof. */ | /* The size of `time_t', as computed by sizeof. */ | ||||
#define SIZEOF_TIME_T 8 | #define SIZEOF_TIME_T 8 | ||||
/* Define to 1 if you have the ANSI C header files. */ | /* Define to 1 if all of the C90 standard headers exist (not just the ones | ||||
required in a freestanding environment). This macro is provided for | |||||
backward compatibility; new code need not use it. */ | |||||
#define STDC_HEADERS 1 | #define STDC_HEADERS 1 | ||||
/* Define this to enable messages to stderr. */ | /* Define this to enable messages to stderr. */ | ||||
/* #undef STDERR_MSGS */ | /* #undef STDERR_MSGS */ | ||||
/* System configuration dir */ | /* System configuration dir */ | ||||
#define SYSCONFDIR sysconfdir | #define SYSCONFDIR sysconfdir | ||||
/* Define this to enable DANE support. */ | /* Define this to enable DANE support. */ | ||||
#define USE_DANE 1 | #define USE_DANE 1 | ||||
/* Define this to enable DANE-TA usage type support. */ | /* Define this to enable DANE-TA usage type support. */ | ||||
#define USE_DANE_TA_USAGE 1 | #define USE_DANE_TA_USAGE 1 | ||||
/* Define this to enable DANE verify support. */ | /* Define this to enable DANE verify support. */ | ||||
#define USE_DANE_VERIFY 1 | #define USE_DANE_VERIFY 1 | ||||
/* Define this to enable DSA support. */ | /* Define this to enable DSA support. */ | ||||
#define USE_DSA 1 | #define USE_DSA 1 | ||||
/* Define this to enable ECDSA support. */ | /* Define this to enable ECDSA support. */ | ||||
#define USE_ECDSA 1 | #define USE_ECDSA 1 | ||||
/* Define this to enable ED25519 support. */ | /* Define this to enable ED25519 support. */ | ||||
/* #undef USE_ED25519 */ | #define USE_ED25519 1 | ||||
/* Define this to enable ED448 support. */ | /* Define this to enable ED448 support. */ | ||||
/* #undef USE_ED448 */ | #define USE_ED448 1 | ||||
/* Define this to enable GOST support. */ | /* Define this to enable GOST support. */ | ||||
/* #undef USE_GOST */ | /* #undef USE_GOST */ | ||||
/* Define this to enable SHA256 and SHA512 support. */ | /* Define this to enable SHA256 and SHA512 support. */ | ||||
#define USE_SHA2 1 | #define USE_SHA2 1 | ||||
/* Enable extensions on AIX 3, Interix. */ | /* Enable extensions on AIX 3, Interix. */ | ||||
#ifndef _ALL_SOURCE | #ifndef _ALL_SOURCE | ||||
# define _ALL_SOURCE 1 | # define _ALL_SOURCE 1 | ||||
#endif | #endif | ||||
/* Enable general extensions on macOS. */ | |||||
#ifndef _DARWIN_C_SOURCE | |||||
# define _DARWIN_C_SOURCE 1 | |||||
#endif | |||||
/* Enable general extensions on Solaris. */ | |||||
#ifndef __EXTENSIONS__ | |||||
# define __EXTENSIONS__ 1 | |||||
#endif | |||||
/* Enable GNU extensions on systems that have them. */ | /* Enable GNU extensions on systems that have them. */ | ||||
#ifndef _GNU_SOURCE | #ifndef _GNU_SOURCE | ||||
# define _GNU_SOURCE 1 | # define _GNU_SOURCE 1 | ||||
#endif | #endif | ||||
/* Enable threading extensions on Solaris. */ | /* Enable X/Open compliant socket functions that do not require linking | ||||
with -lxnet on HP-UX 11.11. */ | |||||
#ifndef _HPUX_ALT_XOPEN_SOCKET_API | |||||
# define _HPUX_ALT_XOPEN_SOCKET_API 1 | |||||
#endif | |||||
/* Identify the host operating system as Minix. | |||||
This macro does not affect the system headers' behavior. | |||||
A future release of Autoconf may stop defining this macro. */ | |||||
#ifndef _MINIX | |||||
/* # undef _MINIX */ | |||||
#endif | |||||
/* Enable general extensions on NetBSD. | |||||
Enable NetBSD compatibility extensions on Minix. */ | |||||
#ifndef _NETBSD_SOURCE | |||||
# define _NETBSD_SOURCE 1 | |||||
#endif | |||||
/* Enable OpenBSD compatibility extensions on NetBSD. | |||||
Oddly enough, this does nothing on OpenBSD. */ | |||||
#ifndef _OPENBSD_SOURCE | |||||
# define _OPENBSD_SOURCE 1 | |||||
#endif | |||||
/* Define to 1 if needed for POSIX-compatible behavior. */ | |||||
#ifndef _POSIX_SOURCE | |||||
/* # undef _POSIX_SOURCE */ | |||||
#endif | |||||
/* Define to 2 if needed for POSIX-compatible behavior. */ | |||||
#ifndef _POSIX_1_SOURCE | |||||
/* # undef _POSIX_1_SOURCE */ | |||||
#endif | |||||
/* Enable POSIX-compatible threading on Solaris. */ | |||||
#ifndef _POSIX_PTHREAD_SEMANTICS | #ifndef _POSIX_PTHREAD_SEMANTICS | ||||
# define _POSIX_PTHREAD_SEMANTICS 1 | # define _POSIX_PTHREAD_SEMANTICS 1 | ||||
#endif | #endif | ||||
/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ | |||||
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ | |||||
# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | |||||
#endif | |||||
/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ | |||||
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ | |||||
# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | |||||
#endif | |||||
/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ | |||||
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ | |||||
# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | |||||
#endif | |||||
/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ | |||||
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ | |||||
# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | |||||
#endif | |||||
/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ | |||||
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ | |||||
# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | |||||
#endif | |||||
/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ | |||||
#ifndef __STDC_WANT_LIB_EXT2__ | |||||
# define __STDC_WANT_LIB_EXT2__ 1 | |||||
#endif | |||||
/* Enable extensions specified by ISO/IEC 24747:2009. */ | |||||
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ | |||||
# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | |||||
#endif | |||||
/* Enable extensions on HP NonStop. */ | /* Enable extensions on HP NonStop. */ | ||||
#ifndef _TANDEM_SOURCE | #ifndef _TANDEM_SOURCE | ||||
# define _TANDEM_SOURCE 1 | # define _TANDEM_SOURCE 1 | ||||
#endif | #endif | ||||
/* Enable general extensions on Solaris. */ | /* Enable X/Open extensions. Define to 500 only if necessary | ||||
#ifndef __EXTENSIONS__ | to make mbstate_t available. */ | ||||
# define __EXTENSIONS__ 1 | #ifndef _XOPEN_SOURCE | ||||
/* # undef _XOPEN_SOURCE */ | |||||
#endif | #endif | ||||
/* Whether the windows socket API is used */ | /* Whether the windows socket API is used */ | ||||
/* #undef USE_WINSOCK */ | /* #undef USE_WINSOCK */ | ||||
/* the version of the windows API enabled */ | /* the version of the windows API enabled */ | ||||
#define WINVER 0x0502 | #define WINVER 0x0502 | ||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most | /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most | ||||
significant byte first (like Motorola and SPARC, unlike Intel). */ | significant byte first (like Motorola and SPARC, unlike Intel). */ | ||||
#if defined AC_APPLE_UNIVERSAL_BUILD | #if defined AC_APPLE_UNIVERSAL_BUILD | ||||
# if defined __BIG_ENDIAN__ | # if defined __BIG_ENDIAN__ | ||||
# define WORDS_BIGENDIAN 1 | # define WORDS_BIGENDIAN 1 | ||||
# endif | # endif | ||||
#else | #else | ||||
# ifndef WORDS_BIGENDIAN | # ifndef WORDS_BIGENDIAN | ||||
/* # undef WORDS_BIGENDIAN */ | /* # undef WORDS_BIGENDIAN */ | ||||
# endif | # endif | ||||
#endif | #endif | ||||
/* Define to 1 if on MINIX. */ | |||||
/* #undef _MINIX */ | |||||
/* Enable for compile on Minix */ | /* Enable for compile on Minix */ | ||||
/* #undef _NETBSD_SOURCE */ | #define _NETBSD_SOURCE 1 | ||||
/* Define to 2 if the system does not provide POSIX.1 features except with | |||||
this defined. */ | |||||
/* #undef _POSIX_1_SOURCE */ | |||||
/* Define to 1 if you need to in order for `stat' and other things to work. */ | |||||
/* #undef _POSIX_SOURCE */ | |||||
/* Define to empty if `const' does not conform to ANSI C. */ | /* Define to empty if `const' does not conform to ANSI C. */ | ||||
/* #undef const */ | /* #undef const */ | ||||
/* in_addr_t */ | /* in_addr_t */ | ||||
/* #undef in_addr_t */ | /* #undef in_addr_t */ | ||||
/* in_port_t */ | /* in_port_t */ | ||||
/* #undef in_port_t */ | /* #undef in_port_t */ | ||||
Show All 14 Lines | |||||
/* #undef int64_t */ | /* #undef int64_t */ | ||||
/* Define to `char' if <sys/types.h> does not define. */ | /* Define to `char' if <sys/types.h> does not define. */ | ||||
/* #undef int8_t */ | /* #undef int8_t */ | ||||
/* Define to `size_t' if <sys/types.h> does not define. */ | /* Define to `size_t' if <sys/types.h> does not define. */ | ||||
/* #undef intptr_t */ | /* #undef intptr_t */ | ||||
/* Define to rpl_malloc if the replacement function should be used. */ | /* Define as a signed integer type capable of holding a process identifier. */ | ||||
/* #undef malloc */ | |||||
/* Define to `int' if <sys/types.h> does not define. */ | |||||
/* #undef pid_t */ | /* #undef pid_t */ | ||||
/* Define to rpl_realloc if the replacement function should be used. */ | |||||
/* #undef realloc */ | |||||
/* Define to `unsigned int' if <sys/types.h> does not define. */ | /* Define to `unsigned int' if <sys/types.h> does not define. */ | ||||
/* #undef size_t */ | /* #undef size_t */ | ||||
/* Define to 'int' if not defined */ | /* Define to 'int' if not defined */ | ||||
/* #undef socklen_t */ | /* #undef socklen_t */ | ||||
/* Fallback member name for socket family in struct sockaddr_storage */ | /* Fallback member name for socket family in struct sockaddr_storage */ | ||||
/* #undef ss_family */ | /* #undef ss_family */ | ||||
▲ Show 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | |||||
void *memmove(void *dest, const void *src, size_t n); | void *memmove(void *dest, const void *src, size_t n); | ||||
#endif | #endif | ||||
#ifndef HAVE_STRLCPY | #ifndef HAVE_STRLCPY | ||||
size_t strlcpy(char *dst, const char *src, size_t siz); | size_t strlcpy(char *dst, const char *src, size_t siz); | ||||
#endif | #endif | ||||
#ifdef USE_WINSOCK | #ifdef USE_WINSOCK | ||||
#define SOCK_INVALID INVALID_SOCKET | #define SOCK_INVALID INVALID_SOCKET | ||||
#define close_socket(_s) do { if (_s > SOCK_INVALID) {closesocket(_s); _s = SOCK_INVALID;} } while(0) | #define close_socket(_s) do { if (_s != SOCK_INVALID) {closesocket(_s); _s = -1;} } while(0) | ||||
#else | #else | ||||
#define SOCK_INVALID -1 | #define SOCK_INVALID -1 | ||||
#define close_socket(_s) do { if (_s > SOCK_INVALID) {close(_s); _s = SOCK_INVALID;} } while(0) | #define close_socket(_s) do { if (_s != SOCK_INVALID) {close(_s); _s = -1;} } while(0) | ||||
#endif | #endif | ||||
#ifdef __cplusplus | #ifdef __cplusplus | ||||
} | } | ||||
#endif | #endif | ||||
#ifndef HAVE_GETADDRINFO | #ifndef HAVE_GETADDRINFO | ||||
#include "compat/fake-rfc2553.h" | #include "compat/fake-rfc2553.h" | ||||
#endif | #endif | ||||
#ifndef HAVE_STRTOUL | #ifndef HAVE_STRTOUL | ||||
#define strtoul (unsigned long)strtol | #define strtoul (unsigned long)strtol | ||||
#endif | #endif | ||||