1/* Copyright (C) The c-ares project and its contributors 2 * SPDX-License-Identifier: MIT 3 */ 4 5/* Generated from ares_config.h.cmake */ 6 7/* Define if building universal (internal helper macro) */ 8#undef AC_APPLE_UNIVERSAL_BUILD 9 10/* Defined for build with symbol hiding. */ 11#cmakedefine CARES_SYMBOL_HIDING 12 13/* Use resolver library to configure cares */ 14#cmakedefine CARES_USE_LIBRESOLV 15 16/* if a /etc/inet dir is being used */ 17#undef ETC_INET 18 19/* Define to the type of arg 2 for gethostname. */ 20#define GETHOSTNAME_TYPE_ARG2 @GETHOSTNAME_TYPE_ARG2@ 21 22/* Define to the type qualifier of arg 1 for getnameinfo. */ 23#define GETNAMEINFO_QUAL_ARG1 @GETNAMEINFO_QUAL_ARG1@ 24 25/* Define to the type of arg 1 for getnameinfo. */ 26#define GETNAMEINFO_TYPE_ARG1 @GETNAMEINFO_TYPE_ARG1@ 27 28/* Define to the type of arg 2 for getnameinfo. */ 29#define GETNAMEINFO_TYPE_ARG2 @GETNAMEINFO_TYPE_ARG2@ 30 31/* Define to the type of args 4 and 6 for getnameinfo. */ 32#define GETNAMEINFO_TYPE_ARG46 @GETNAMEINFO_TYPE_ARG46@ 33 34/* Define to the type of arg 7 for getnameinfo. */ 35#define GETNAMEINFO_TYPE_ARG7 @GETNAMEINFO_TYPE_ARG7@ 36 37/* Specifies the number of arguments to getservbyport_r */ 38#define GETSERVBYPORT_R_ARGS @GETSERVBYPORT_R_ARGS@ 39 40/* Specifies the number of arguments to getservbyname_r */ 41#define GETSERVBYNAME_R_ARGS @GETSERVBYNAME_R_ARGS@ 42 43/* Define to 1 if you have AF_INET6. */ 44#cmakedefine HAVE_AF_INET6 45 46/* Define to 1 if you have the <arpa/inet.h> header file. */ 47#cmakedefine HAVE_ARPA_INET_H 48 49/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */ 50#cmakedefine HAVE_ARPA_NAMESER_COMPAT_H 51 52/* Define to 1 if you have the <arpa/nameser.h> header file. */ 53#cmakedefine HAVE_ARPA_NAMESER_H 54 55/* Define to 1 if you have the <assert.h> header file. */ 56#cmakedefine HAVE_ASSERT_H 57 58/* Define to 1 if you have the clock_gettime function and monotonic timer. */ 59#cmakedefine HAVE_CLOCK_GETTIME_MONOTONIC 60 61/* Define to 1 if you have the closesocket function. */ 62#cmakedefine HAVE_CLOSESOCKET 63 64/* Define to 1 if you have the CloseSocket camel case function. */ 65#cmakedefine HAVE_CLOSESOCKET_CAMEL 66 67/* Define to 1 if you have the connect function. */ 68#cmakedefine HAVE_CONNECT 69 70/* define if the compiler supports basic C++11 syntax */ 71#cmakedefine HAVE_CXX11 72 73/* Define to 1 if you have the <dlfcn.h> header file. */ 74#cmakedefine HAVE_DLFCN_H 75 76/* Define to 1 if you have the <errno.h> header file. */ 77#cmakedefine HAVE_ERRNO_H 78 79/* Define to 1 if you have the <poll.h> header file. */ 80#cmakedefine HAVE_POLL_H 81 82/* Define to 1 if you have the poll function. */ 83#cmakedefine HAVE_POLL 84 85/* Define to 1 if you have the pipe function. */ 86#cmakedefine HAVE_PIPE 87 88/* Define to 1 if you have the pipe2 function. */ 89#cmakedefine HAVE_PIPE2 90 91/* Define to 1 if you have the kqueue function. */ 92#cmakedefine HAVE_KQUEUE 93 94/* Define to 1 if you have the epoll{_create,ctl,wait} functions. */ 95#cmakedefine HAVE_EPOLL 96 97/* Define to 1 if you have the fcntl function. */ 98#cmakedefine HAVE_FCNTL 99 100/* Define to 1 if you have the <fcntl.h> header file. */ 101#cmakedefine HAVE_FCNTL_H 102 103/* Define to 1 if you have a working fcntl O_NONBLOCK function. */ 104#cmakedefine HAVE_FCNTL_O_NONBLOCK 105 106/* Define to 1 if you have the freeaddrinfo function. */ 107#cmakedefine HAVE_FREEADDRINFO 108 109/* Define to 1 if you have a working getaddrinfo function. */ 110#cmakedefine HAVE_GETADDRINFO 111 112/* Define to 1 if the getaddrinfo function is threadsafe. */ 113#cmakedefine HAVE_GETADDRINFO_THREADSAFE 114 115/* Define to 1 if you have the getenv function. */ 116#cmakedefine HAVE_GETENV 117 118/* Define to 1 if you have the gethostname function. */ 119#cmakedefine HAVE_GETHOSTNAME 120 121/* Define to 1 if you have the getnameinfo function. */ 122#cmakedefine HAVE_GETNAMEINFO 123 124/* Define to 1 if you have the getrandom function. */ 125#cmakedefine HAVE_GETRANDOM 126 127/* Define to 1 if you have the getservbyport_r function. */ 128#cmakedefine HAVE_GETSERVBYPORT_R 129 130/* Define to 1 if you have the getservbyname_r function. */ 131#cmakedefine HAVE_GETSERVBYNAME_R 132 133/* Define to 1 if you have the `gettimeofday' function. */ 134#cmakedefine HAVE_GETTIMEOFDAY 135 136/* Define to 1 if you have the `if_indextoname' function. */ 137#cmakedefine HAVE_IF_INDEXTONAME 138 139/* Define to 1 if you have the `if_nametoindex' function. */ 140#cmakedefine HAVE_IF_NAMETOINDEX 141 142/* Define to 1 if you have the `ConvertInterfaceIndexToLuid' function. */ 143#cmakedefine HAVE_CONVERTINTERFACEINDEXTOLUID 144 145/* Define to 1 if you have the `ConvertInterfaceLuidToNameA' function. */ 146#cmakedefine HAVE_CONVERTINTERFACELUIDTONAMEA 147 148/* Define to 1 if you have a IPv6 capable working inet_net_pton function. */ 149#cmakedefine HAVE_INET_NET_PTON 150 151/* Define to 1 if you have a IPv6 capable working inet_ntop function. */ 152#cmakedefine HAVE_INET_NTOP 153 154/* Define to 1 if you have a IPv6 capable working inet_pton function. */ 155#cmakedefine HAVE_INET_PTON 156 157/* Define to 1 if you have the <inttypes.h> header file. */ 158#cmakedefine HAVE_INTTYPES_H 159 160/* Define to 1 if you have the ioctl function. */ 161#cmakedefine HAVE_IOCTL 162 163/* Define to 1 if you have the ioctlsocket function. */ 164#cmakedefine HAVE_IOCTLSOCKET 165 166/* Define to 1 if you have the IoctlSocket camel case function. */ 167#cmakedefine HAVE_IOCTLSOCKET_CAMEL 168 169/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. 170 */ 171#cmakedefine HAVE_IOCTLSOCKET_CAMEL_FIONBIO 172 173/* Define to 1 if you have a working ioctlsocket FIONBIO function. */ 174#cmakedefine HAVE_IOCTLSOCKET_FIONBIO 175 176/* Define to 1 if you have a working ioctl FIONBIO function. */ 177#cmakedefine HAVE_IOCTL_FIONBIO 178 179/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ 180#cmakedefine HAVE_IOCTL_SIOCGIFADDR 181 182/* Define to 1 if you have the `resolve' library (-lresolve). */ 183#cmakedefine HAVE_LIBRESOLV 184 185/* Define to 1 if you have iphlpapi.h */ 186#cmakedefine HAVE_IPHLPAPI_H 187 188/* Define to 1 if you have netioapi.h */ 189#cmakedefine HAVE_NETIOAPI_H 190 191/* Define to 1 if you have the <limits.h> header file. */ 192#cmakedefine HAVE_LIMITS_H 193 194/* Define to 1 if the compiler supports the 'long long' data type. */ 195#cmakedefine HAVE_LONGLONG 196 197/* Define to 1 if you have the malloc.h header file. */ 198#cmakedefine HAVE_MALLOC_H 199 200/* Define to 1 if you have the memory.h header file. */ 201#cmakedefine HAVE_MEMORY_H 202 203/* Define to 1 if you have the AvailabilityMacros.h header file. */ 204#cmakedefine HAVE_AVAILABILITYMACROS_H 205 206/* Define to 1 if you have the MSG_NOSIGNAL flag. */ 207#cmakedefine HAVE_MSG_NOSIGNAL 208 209/* Define to 1 if you have the <netdb.h> header file. */ 210#cmakedefine HAVE_NETDB_H 211 212/* Define to 1 if you have the <netinet/in.h> header file. */ 213#cmakedefine HAVE_NETINET_IN_H 214 215/* Define to 1 if you have the <netinet/tcp.h> header file. */ 216#cmakedefine HAVE_NETINET_TCP_H 217 218/* Define to 1 if you have the <net/if.h> header file. */ 219#cmakedefine HAVE_NET_IF_H 220 221/* Define to 1 if you have PF_INET6. */ 222#cmakedefine HAVE_PF_INET6 223 224/* Define to 1 if you have the recv function. */ 225#cmakedefine HAVE_RECV 226 227/* Define to 1 if you have the recvfrom function. */ 228#cmakedefine HAVE_RECVFROM 229 230/* Define to 1 if you have the send function. */ 231#cmakedefine HAVE_SEND 232 233/* Define to 1 if you have the setsockopt function. */ 234#cmakedefine HAVE_SETSOCKOPT 235 236/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */ 237#cmakedefine HAVE_SETSOCKOPT_SO_NONBLOCK 238 239/* Define to 1 if you have the <signal.h> header file. */ 240#cmakedefine HAVE_SIGNAL_H 241 242/* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */ 243#cmakedefine HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 244 245/* Define to 1 if you have the socket function. */ 246#cmakedefine HAVE_SOCKET 247 248/* Define to 1 if you have the <socket.h> header file. */ 249#cmakedefine HAVE_SOCKET_H 250 251/* Define to 1 if you have the <stdbool.h> header file. */ 252#cmakedefine HAVE_STDBOOL_H 253 254/* Define to 1 if you have the <stdint.h> header file. */ 255#cmakedefine HAVE_STDINT_H 256 257/* Define to 1 if you have the <stdlib.h> header file. */ 258#cmakedefine HAVE_STDLIB_H 259 260/* Define to 1 if you have the strcasecmp function. */ 261#cmakedefine HAVE_STRCASECMP 262 263/* Define to 1 if you have the strcmpi function. */ 264#cmakedefine HAVE_STRCMPI 265 266/* Define to 1 if you have the strdup function. */ 267#cmakedefine HAVE_STRDUP 268 269/* Define to 1 if you have the stricmp function. */ 270#cmakedefine HAVE_STRICMP 271 272/* Define to 1 if you have the <strings.h> header file. */ 273#cmakedefine HAVE_STRINGS_H 274 275/* Define to 1 if you have the <string.h> header file. */ 276#cmakedefine HAVE_STRING_H 277 278/* Define to 1 if you have the strncasecmp function. */ 279#cmakedefine HAVE_STRNCASECMP 280 281/* Define to 1 if you have the strncmpi function. */ 282#cmakedefine HAVE_STRNCMPI 283 284/* Define to 1 if you have the strnicmp function. */ 285#cmakedefine HAVE_STRNICMP 286 287/* Define to 1 if you have the <stropts.h> header file. */ 288#cmakedefine HAVE_STROPTS_H 289 290/* Define to 1 if you have struct addrinfo. */ 291#cmakedefine HAVE_STRUCT_ADDRINFO 292 293/* Define to 1 if you have struct in6_addr. */ 294#cmakedefine HAVE_STRUCT_IN6_ADDR 295 296/* Define to 1 if you have struct sockaddr_in6. */ 297#cmakedefine HAVE_STRUCT_SOCKADDR_IN6 298 299/* if struct sockaddr_storage is defined */ 300#cmakedefine HAVE_STRUCT_SOCKADDR_STORAGE 301 302/* Define to 1 if you have the timeval struct. */ 303#cmakedefine HAVE_STRUCT_TIMEVAL 304 305/* Define to 1 if you have the <sys/ioctl.h> header file. */ 306#cmakedefine HAVE_SYS_IOCTL_H 307 308/* Define to 1 if you have the <sys/param.h> header file. */ 309#cmakedefine HAVE_SYS_PARAM_H 310 311/* Define to 1 if you have the <sys/random.h> header file. */ 312#cmakedefine HAVE_SYS_RANDOM_H 313 314/* Define to 1 if you have the <sys/event.h> header file. */ 315#cmakedefine HAVE_SYS_EVENT_H 316 317/* Define to 1 if you have the <sys/epoll.h> header file. */ 318#cmakedefine HAVE_SYS_EPOLL_H 319 320/* Define to 1 if you have the <sys/select.h> header file. */ 321#cmakedefine HAVE_SYS_SELECT_H 322 323/* Define to 1 if you have the <sys/socket.h> header file. */ 324#cmakedefine HAVE_SYS_SOCKET_H 325 326/* Define to 1 if you have the <sys/stat.h> header file. */ 327#cmakedefine HAVE_SYS_STAT_H 328 329/* Define to 1 if you have the <sys/time.h> header file. */ 330#cmakedefine HAVE_SYS_TIME_H 331 332/* Define to 1 if you have the <sys/types.h> header file. */ 333#cmakedefine HAVE_SYS_TYPES_H 334 335/* Define to 1 if you have the <sys/uio.h> header file. */ 336#cmakedefine HAVE_SYS_UIO_H 337 338/* Define to 1 if you have the <time.h> header file. */ 339#cmakedefine HAVE_TIME_H 340 341/* Define to 1 if you have the <ifaddrs.h> header file. */ 342#cmakedefine HAVE_IFADDRS_H 343 344/* Define to 1 if you have the <unistd.h> header file. */ 345#cmakedefine HAVE_UNISTD_H 346 347/* Define to 1 if you have the windows.h header file. */ 348#cmakedefine HAVE_WINDOWS_H 349 350/* Define to 1 if you have the winsock2.h header file. */ 351#cmakedefine HAVE_WINSOCK2_H 352 353/* Define to 1 if you have the winsock.h header file. */ 354#cmakedefine HAVE_WINSOCK_H 355 356/* Define to 1 if you have the mswsock.h header file. */ 357#cmakedefine HAVE_MSWSOCK_H 358 359/* Define to 1 if you have the winternl.h header file. */ 360#cmakedefine HAVE_WINTERNL_H 361 362/* Define to 1 if you have the ntstatus.h header file. */ 363#cmakedefine HAVE_NTSTATUS_H 364 365/* Define to 1 if you have the ntdef.h header file. */ 366#cmakedefine HAVE_NTDEF_H 367 368/* Define to 1 if you have the writev function. */ 369#cmakedefine HAVE_WRITEV 370 371/* Define to 1 if you have the ws2tcpip.h header file. */ 372#cmakedefine HAVE_WS2TCPIP_H 373 374/* Define to 1 if you have the __system_property_get function */ 375#cmakedefine HAVE___SYSTEM_PROPERTY_GET 376 377/* Define to 1 if you need the malloc.h header file even with stdlib.h */ 378#cmakedefine NEED_MALLOC_H 379 380/* Define to 1 if you need the memory.h header file even with stdlib.h */ 381#cmakedefine NEED_MEMORY_H 382 383/* Define if have arc4random_buf() */ 384#cmakedefine HAVE_ARC4RANDOM_BUF 385 386/* Define if have getifaddrs() */ 387#cmakedefine HAVE_GETIFADDRS 388 389/* Define if have stat() */ 390#cmakedefine HAVE_STAT 391 392/* a suitable file/device to read random data from */ 393#cmakedefine CARES_RANDOM_FILE "@CARES_RANDOM_FILE@" 394 395/* Define to the type qualifier pointed by arg 5 for recvfrom. */ 396#define RECVFROM_QUAL_ARG5 @RECVFROM_QUAL_ARG5@ 397 398/* Define to the type of arg 1 for recvfrom. */ 399#define RECVFROM_TYPE_ARG1 @RECVFROM_TYPE_ARG1@ 400 401/* Define to the type pointed by arg 2 for recvfrom. */ 402#define RECVFROM_TYPE_ARG2 @RECVFROM_TYPE_ARG2@ 403 404/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ 405#cmakedefine01 RECVFROM_TYPE_ARG2_IS_VOID 406 407/* Define to the type of arg 3 for recvfrom. */ 408#define RECVFROM_TYPE_ARG3 @RECVFROM_TYPE_ARG3@ 409 410/* Define to the type of arg 4 for recvfrom. */ 411#define RECVFROM_TYPE_ARG4 @RECVFROM_TYPE_ARG4@ 412 413/* Define to the type pointed by arg 5 for recvfrom. */ 414#define RECVFROM_TYPE_ARG5 @RECVFROM_TYPE_ARG5@ 415 416/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ 417#cmakedefine01 RECVFROM_TYPE_ARG5_IS_VOID 418 419/* Define to the type pointed by arg 6 for recvfrom. */ 420#define RECVFROM_TYPE_ARG6 @RECVFROM_TYPE_ARG6@ 421 422/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ 423#cmakedefine01 RECVFROM_TYPE_ARG6_IS_VOID 424 425/* Define to the function return type for recvfrom. */ 426#define RECVFROM_TYPE_RETV @RECVFROM_TYPE_RETV@ 427 428/* Define to the type of arg 1 for recv. */ 429#define RECV_TYPE_ARG1 @RECV_TYPE_ARG1@ 430 431/* Define to the type of arg 2 for recv. */ 432#define RECV_TYPE_ARG2 @RECV_TYPE_ARG2@ 433 434/* Define to the type of arg 3 for recv. */ 435#define RECV_TYPE_ARG3 @RECV_TYPE_ARG3@ 436 437/* Define to the type of arg 4 for recv. */ 438#define RECV_TYPE_ARG4 @RECV_TYPE_ARG4@ 439 440/* Define to the function return type for recv. */ 441#define RECV_TYPE_RETV @RECV_TYPE_RETV@ 442 443/* Define to the type qualifier of arg 2 for send. */ 444#define SEND_QUAL_ARG2 @SEND_QUAL_ARG2@ 445 446/* Define to the type of arg 1 for send. */ 447#define SEND_TYPE_ARG1 @SEND_TYPE_ARG1@ 448 449/* Define to the type of arg 2 for send. */ 450#define SEND_TYPE_ARG2 @SEND_TYPE_ARG2@ 451 452/* Define to the type of arg 3 for send. */ 453#define SEND_TYPE_ARG3 @SEND_TYPE_ARG3@ 454 455/* Define to the type of arg 4 for send. */ 456#define SEND_TYPE_ARG4 @SEND_TYPE_ARG4@ 457 458/* Define to the function return type for send. */ 459#define SEND_TYPE_RETV @SEND_TYPE_RETV@ 460 461/* Define to disable non-blocking sockets. */ 462#undef USE_BLOCKING_SOCKETS 463 464/* Define to avoid automatic inclusion of winsock.h */ 465#undef WIN32_LEAN_AND_MEAN 466 467/* Define to 1 if you have the pthread.h header file. */ 468#cmakedefine HAVE_PTHREAD_H 469 470/* Define to 1 if you have the pthread_np.h header file. */ 471#cmakedefine HAVE_PTHREAD_NP_H 472 473/* Define to 1 if threads are enabled */ 474#cmakedefine CARES_THREADS 475 476/* Define to 1 if pthread_init() exists */ 477#cmakedefine HAVE_PTHREAD_INIT 478 479