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