1 /* ares_config.h. Generated from ares_config.h.in by configure. */ 2 /* ares_config.h.in. Generated from configure.ac by autoheader. */ 3 4 /* Define if building universal (internal helper macro) */ 5 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 6 7 /* define this if ares is built for a big endian system */ 8 /* #undef ARES_BIG_ENDIAN */ 9 10 /* when building as static part of libcurl */ 11 /* #undef BUILDING_LIBCURL */ 12 13 /* when building c-ares library */ 14 /* #undef CARES_BUILDING_LIBRARY */ 15 16 /* when not building a shared library */ 17 /* #undef CARES_STATICLIB */ 18 19 /* Define to 1 to enable hiding of library internal symbols. */ 20 #define CARES_SYMBOL_HIDING 1 21 22 /* Definition to make a library symbol externally visible. */ 23 #define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((visibility ("default"))) 24 25 /* the signed version of size_t */ 26 #define CARES_TYPEOF_ARES_SSIZE_T ssize_t 27 28 /* if a /etc/inet dir is being used */ 29 /* #undef ETC_INET */ 30 31 /* Define to the type qualifier of arg 1 for getnameinfo. */ 32 #define GETNAMEINFO_QUAL_ARG1 const 33 34 /* Define to the type of arg 1 for getnameinfo. */ 35 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr * 36 37 /* Define to the type of arg 2 for getnameinfo. */ 38 #define GETNAMEINFO_TYPE_ARG2 socklen_t 39 40 /* Define to the type of args 4 and 6 for getnameinfo. */ 41 #define GETNAMEINFO_TYPE_ARG46 int 42 43 /* Define to the type of arg 7 for getnameinfo. */ 44 #define GETNAMEINFO_TYPE_ARG7 int 45 46 /* Specifies the number of arguments to getservbyport_r */ 47 /* #undef GETSERVBYPORT_R_ARGS */ 48 49 /* Specifies the size of the buffer to pass to getservbyport_r */ 50 /* #undef GETSERVBYPORT_R_BUFSIZE */ 51 52 /* Define to 1 if you have AF_INET6. */ 53 #define HAVE_AF_INET6 1 54 55 /* Define to 1 if you have the <arpa/inet.h> header file. */ 56 #define HAVE_ARPA_INET_H 1 57 58 /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */ 59 #define HAVE_ARPA_NAMESER_COMPAT_H 1 60 61 /* Define to 1 if you have the <arpa/nameser.h> header file. */ 62 #define HAVE_ARPA_NAMESER_H 1 63 64 /* Define to 1 if you have the <assert.h> header file. */ 65 #define HAVE_ASSERT_H 1 66 67 /* Define to 1 if you have the `bitncmp' function. */ 68 /* #undef HAVE_BITNCMP */ 69 70 /* Define to 1 if bool is an available type. */ 71 #define HAVE_BOOL_T 1 72 73 /* Define to 1 if you have the clock_gettime function and monotonic timer. */ 74 /* #undef HAVE_CLOCK_GETTIME_MONOTONIC */ 75 76 /* Define to 1 if you have the closesocket function. */ 77 /* #undef HAVE_CLOSESOCKET */ 78 79 /* Define to 1 if you have the CloseSocket camel case function. */ 80 /* #undef HAVE_CLOSESOCKET_CAMEL */ 81 82 /* Define to 1 if you have the connect function. */ 83 #define HAVE_CONNECT 1 84 85 /* Define to 1 if you have the <dlfcn.h> header file. */ 86 #define HAVE_DLFCN_H 1 87 88 /* Define to 1 if you have the <errno.h> header file. */ 89 #define HAVE_ERRNO_H 1 90 91 /* Define to 1 if you have the fcntl function. */ 92 #define HAVE_FCNTL 1 93 94 /* Define to 1 if you have the <fcntl.h> header file. */ 95 #define HAVE_FCNTL_H 1 96 97 /* Define to 1 if you have a working fcntl O_NONBLOCK function. */ 98 #define HAVE_FCNTL_O_NONBLOCK 1 99 100 /* Define to 1 if you have the freeaddrinfo function. */ 101 #define HAVE_FREEADDRINFO 1 102 103 /* Define to 1 if you have a working getaddrinfo function. */ 104 #define HAVE_GETADDRINFO 1 105 106 /* Define to 1 if the getaddrinfo function is threadsafe. */ 107 /* #undef HAVE_GETADDRINFO_THREADSAFE */ 108 109 /* Define to 1 if you have the gethostbyaddr function. */ 110 #define HAVE_GETHOSTBYADDR 1 111 112 /* Define to 1 if you have the gethostbyname function. */ 113 #define HAVE_GETHOSTBYNAME 1 114 115 /* Define to 1 if you have the gethostname function. */ 116 #define HAVE_GETHOSTNAME 1 117 118 /* Define to 1 if you have the getnameinfo function. */ 119 #define HAVE_GETNAMEINFO 1 120 121 /* Define to 1 if you have the getservbyport_r function. */ 122 /* #undef HAVE_GETSERVBYPORT_R */ 123 124 /* Define to 1 if you have the `gettimeofday' function. */ 125 #define HAVE_GETTIMEOFDAY 1 126 127 /* Define to 1 if you have the `if_indextoname' function. */ 128 #define HAVE_IF_INDEXTONAME 1 129 130 /* Define to 1 if you have the `inet_net_pton' function. */ 131 /* #undef HAVE_INET_NET_PTON */ 132 133 /* Define to 1 if inet_net_pton supports IPv6. */ 134 /* #undef HAVE_INET_NET_PTON_IPV6 */ 135 136 /* Define to 1 if you have a IPv6 capable working inet_ntop function. */ 137 #define HAVE_INET_NTOP 1 138 139 /* Define to 1 if you have a IPv6 capable working inet_pton function. */ 140 #define HAVE_INET_PTON 1 141 142 /* Define to 1 if you have the <inttypes.h> header file. */ 143 #define HAVE_INTTYPES_H 1 144 145 /* Define to 1 if you have the ioctl function. */ 146 #define HAVE_IOCTL 1 147 148 /* Define to 1 if you have the ioctlsocket function. */ 149 /* #undef HAVE_IOCTLSOCKET */ 150 151 /* Define to 1 if you have the IoctlSocket camel case function. */ 152 /* #undef HAVE_IOCTLSOCKET_CAMEL */ 153 154 /* Define to 1 if you have a working IoctlSocket camel case FIONBIO function. 155 */ 156 /* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */ 157 158 /* Define to 1 if you have a working ioctlsocket FIONBIO function. */ 159 /* #undef HAVE_IOCTLSOCKET_FIONBIO */ 160 161 /* Define to 1 if you have a working ioctl FIONBIO function. */ 162 #define HAVE_IOCTL_FIONBIO 1 163 164 /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */ 165 #define HAVE_IOCTL_SIOCGIFADDR 1 166 167 /* Define to 1 if you have the `resolve' library (-lresolve). */ 168 /* #undef HAVE_LIBRESOLVE */ 169 170 /* Define to 1 if you have the <limits.h> header file. */ 171 #define HAVE_LIMITS_H 1 172 173 /* if your compiler supports LL */ 174 #define HAVE_LL 1 175 176 /* Define to 1 if the compiler supports the 'long long' data type. */ 177 #define HAVE_LONGLONG 1 178 179 /* Define to 1 if you have the malloc.h header file. */ 180 #define HAVE_MALLOC_H 1 181 182 /* Define to 1 if you have the memory.h header file. */ 183 #define HAVE_MEMORY_H 1 184 185 /* Define to 1 if you have the MSG_NOSIGNAL flag. */ 186 #define HAVE_MSG_NOSIGNAL 1 187 188 /* Define to 1 if you have the <netdb.h> header file. */ 189 #define HAVE_NETDB_H 1 190 191 /* Define to 1 if you have the <netinet/in.h> header file. */ 192 #define HAVE_NETINET_IN_H 1 193 194 /* Define to 1 if you have the <netinet/tcp.h> header file. */ 195 #define HAVE_NETINET_TCP_H 1 196 197 /* Define to 1 if you have the <net/if.h> header file. */ 198 #define HAVE_NET_IF_H 1 199 200 /* Define to 1 if you have PF_INET6. */ 201 #define HAVE_PF_INET6 1 202 203 /* Define to 1 if you have the recv function. */ 204 #define HAVE_RECV 1 205 206 /* Define to 1 if you have the recvfrom function. */ 207 #define HAVE_RECVFROM 1 208 209 /* Define to 1 if you have the send function. */ 210 #define HAVE_SEND 1 211 212 /* Define to 1 if you have the setsockopt function. */ 213 #define HAVE_SETSOCKOPT 1 214 215 /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */ 216 /* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */ 217 218 /* Define to 1 if you have the <signal.h> header file. */ 219 #define HAVE_SIGNAL_H 1 220 221 /* Define to 1 if sig_atomic_t is an available typedef. */ 222 #define HAVE_SIG_ATOMIC_T 1 223 224 /* Define to 1 if sig_atomic_t is already defined as volatile. */ 225 /* #undef HAVE_SIG_ATOMIC_T_VOLATILE */ 226 227 /* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */ 228 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 229 230 /* Define to 1 if you have the socket function. */ 231 #define HAVE_SOCKET 1 232 233 /* Define to 1 if you have the <socket.h> header file. */ 234 /* #undef HAVE_SOCKET_H */ 235 236 /* Define to 1 if you have the <stdbool.h> header file. */ 237 #define HAVE_STDBOOL_H 1 238 239 /* Define to 1 if you have the <stdint.h> header file. */ 240 #define HAVE_STDINT_H 1 241 242 /* Define to 1 if you have the <stdlib.h> header file. */ 243 #define HAVE_STDLIB_H 1 244 245 /* Define to 1 if you have the strcasecmp function. */ 246 #define HAVE_STRCASECMP 1 247 248 /* Define to 1 if you have the strcmpi function. */ 249 /* #undef HAVE_STRCMPI */ 250 251 /* Define to 1 if you have the strdup function. */ 252 #define HAVE_STRDUP 1 253 254 /* Define to 1 if you have the stricmp function. */ 255 /* #undef HAVE_STRICMP */ 256 257 /* Define to 1 if you have the <strings.h> header file. */ 258 #define HAVE_STRINGS_H 1 259 260 /* Define to 1 if you have the <string.h> header file. */ 261 #define HAVE_STRING_H 1 262 263 /* Define to 1 if you have the strncasecmp function. */ 264 #define HAVE_STRNCASECMP 1 265 266 /* Define to 1 if you have the strncmpi function. */ 267 /* #undef HAVE_STRNCMPI */ 268 269 /* Define to 1 if you have the strnicmp function. */ 270 /* #undef HAVE_STRNICMP */ 271 272 /* Define to 1 if you have the <stropts.h> header file. */ 273 /* #undef HAVE_STROPTS_H */ 274 275 /* Define to 1 if you have struct addrinfo. */ 276 #define HAVE_STRUCT_ADDRINFO 1 277 278 /* Define to 1 if you have struct in6_addr. */ 279 #define HAVE_STRUCT_IN6_ADDR 1 280 281 /* Define to 1 if you have struct sockaddr_in6. */ 282 #define HAVE_STRUCT_SOCKADDR_IN6 1 283 284 /* if struct sockaddr_storage is defined */ 285 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 286 287 /* Define to 1 if you have the timeval struct. */ 288 #define HAVE_STRUCT_TIMEVAL 1 289 290 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 291 #define HAVE_SYS_IOCTL_H 1 292 293 /* Define to 1 if you have the <sys/param.h> header file. */ 294 #define HAVE_SYS_PARAM_H 1 295 296 /* Define to 1 if you have the <sys/select.h> header file. */ 297 #define HAVE_SYS_SELECT_H 1 298 299 /* Define to 1 if you have the <sys/socket.h> header file. */ 300 #define HAVE_SYS_SOCKET_H 1 301 302 /* Define to 1 if you have the <sys/stat.h> header file. */ 303 #define HAVE_SYS_STAT_H 1 304 305 /* Define to 1 if you have the <sys/time.h> header file. */ 306 #define HAVE_SYS_TIME_H 1 307 308 /* Define to 1 if you have the <sys/types.h> header file. */ 309 #define HAVE_SYS_TYPES_H 1 310 311 /* Define to 1 if you have the <sys/uio.h> header file. */ 312 #define HAVE_SYS_UIO_H 1 313 314 /* Define to 1 if you have the <time.h> header file. */ 315 #define HAVE_TIME_H 1 316 317 /* Define to 1 if you have the <unistd.h> header file. */ 318 #define HAVE_UNISTD_H 1 319 320 /* Define to 1 if you have the windows.h header file. */ 321 /* #undef HAVE_WINDOWS_H */ 322 323 /* Define to 1 if you have the winsock2.h header file. */ 324 /* #undef HAVE_WINSOCK2_H */ 325 326 /* Define to 1 if you have the winsock.h header file. */ 327 /* #undef HAVE_WINSOCK_H */ 328 329 /* Define to 1 if you have the writev function. */ 330 #define HAVE_WRITEV 1 331 332 /* Define to 1 if you have the ws2tcpip.h header file. */ 333 /* #undef HAVE_WS2TCPIP_H */ 334 335 /* Define to the sub-directory in which libtool stores uninstalled libraries. 336 */ 337 #define LT_OBJDIR ".libs/" 338 339 /* Define to 1 if you are building a native Windows target. */ 340 /* #undef NATIVE_WINDOWS */ 341 342 /* Define to 1 if you need the malloc.h header file even with stdlib.h */ 343 /* #undef NEED_MALLOC_H */ 344 345 /* Define to 1 if you need the memory.h header file even with stdlib.h */ 346 /* #undef NEED_MEMORY_H */ 347 348 /* Define to 1 if _REENTRANT preprocessor symbol must be defined. */ 349 /* #undef NEED_REENTRANT */ 350 351 /* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */ 352 /* #undef NEED_THREAD_SAFE */ 353 354 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ 355 /* #undef NO_MINUS_C_MINUS_O */ 356 357 /* cpu-machine-OS */ 358 #define OS "i686-pc-cygwin" 359 360 /* Name of package */ 361 #define PACKAGE "c-ares" 362 363 /* Define to the address where bug reports for this package should be sent. */ 364 #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" 365 366 /* Define to the full name of this package. */ 367 #define PACKAGE_NAME "c-ares" 368 369 /* Define to the full name and version of this package. */ 370 #define PACKAGE_STRING "c-ares 1.13.0" 371 372 /* Define to the one symbol short name of this package. */ 373 #define PACKAGE_TARNAME "c-ares" 374 375 /* Define to the home page for this package. */ 376 #define PACKAGE_URL "" 377 378 /* Define to the version of this package. */ 379 #define PACKAGE_VERSION "1.13.0" 380 381 /* a suitable file/device to read random data from */ 382 #define RANDOM_FILE "/dev/urandom" 383 384 /* Define to the type of arg 1 for recvfrom. */ 385 #define RECVFROM_TYPE_ARG1 int 386 387 /* Define to the type pointed by arg 2 for recvfrom. */ 388 #define RECVFROM_TYPE_ARG2 void 389 390 /* Define to 1 if the type pointed by arg 2 for recvfrom is void. */ 391 #define RECVFROM_TYPE_ARG2_IS_VOID 1 392 393 /* Define to the type of arg 3 for recvfrom. */ 394 #define RECVFROM_TYPE_ARG3 size_t 395 396 /* Define to the type of arg 4 for recvfrom. */ 397 #define RECVFROM_TYPE_ARG4 int 398 399 /* Define to the type pointed by arg 5 for recvfrom. */ 400 #define RECVFROM_TYPE_ARG5 struct sockaddr 401 402 /* Define to 1 if the type pointed by arg 5 for recvfrom is void. */ 403 /* #undef RECVFROM_TYPE_ARG5_IS_VOID */ 404 405 /* Define to the type pointed by arg 6 for recvfrom. */ 406 #define RECVFROM_TYPE_ARG6 socklen_t 407 408 /* Define to 1 if the type pointed by arg 6 for recvfrom is void. */ 409 /* #undef RECVFROM_TYPE_ARG6_IS_VOID */ 410 411 /* Define to the function return type for recvfrom. */ 412 #define RECVFROM_TYPE_RETV int 413 414 /* Define to the type of arg 1 for recv. */ 415 #define RECV_TYPE_ARG1 int 416 417 /* Define to the type of arg 2 for recv. */ 418 #define RECV_TYPE_ARG2 void * 419 420 /* Define to the type of arg 3 for recv. */ 421 #define RECV_TYPE_ARG3 size_t 422 423 /* Define to the type of arg 4 for recv. */ 424 #define RECV_TYPE_ARG4 int 425 426 /* Define to the function return type for recv. */ 427 #define RECV_TYPE_RETV int 428 429 /* Define as the return type of signal handlers (`int' or `void'). */ 430 #define RETSIGTYPE void 431 432 /* Define to the type qualifier of arg 2 for send. */ 433 #define SEND_QUAL_ARG2 const 434 435 /* Define to the type of arg 1 for send. */ 436 #define SEND_TYPE_ARG1 int 437 438 /* Define to the type of arg 2 for send. */ 439 #define SEND_TYPE_ARG2 void * 440 441 /* Define to the type of arg 3 for send. */ 442 #define SEND_TYPE_ARG3 size_t 443 444 /* Define to the type of arg 4 for send. */ 445 #define SEND_TYPE_ARG4 int 446 447 /* Define to the function return type for send. */ 448 #define SEND_TYPE_RETV int 449 450 /* The size of `int', as computed by sizeof. */ 451 #define SIZEOF_INT 4 452 453 /* The size of `long', as computed by sizeof. */ 454 #define SIZEOF_LONG 4 455 456 /* The size of `size_t', as computed by sizeof. */ 457 #define SIZEOF_SIZE_T 4 458 459 /* The size of `struct in6_addr', as computed by sizeof. */ 460 #define SIZEOF_STRUCT_IN6_ADDR 16 461 462 /* The size of `struct in_addr', as computed by sizeof. */ 463 #define SIZEOF_STRUCT_IN_ADDR 4 464 465 /* The size of `time_t', as computed by sizeof. */ 466 #define SIZEOF_TIME_T 4 467 468 /* Define to 1 if you have the ANSI C header files. */ 469 #define STDC_HEADERS 1 470 471 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 472 #define TIME_WITH_SYS_TIME 1 473 474 /* Define to disable non-blocking sockets. */ 475 /* #undef USE_BLOCKING_SOCKETS */ 476 477 /* Version number of package */ 478 #define VERSION "1.7.1" 479 480 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 481 significant byte first (like Motorola and SPARC, unlike Intel). */ 482 #if defined AC_APPLE_UNIVERSAL_BUILD 483 # if defined __BIG_ENDIAN__ 484 # define WORDS_BIGENDIAN 1 485 # endif 486 #else 487 # ifndef WORDS_BIGENDIAN 488 /* # undef WORDS_BIGENDIAN */ 489 # endif 490 #endif 491 492 /* Define to 1 if OS is AIX. */ 493 #ifndef _ALL_SOURCE 494 /* # undef _ALL_SOURCE */ 495 #endif 496 497 /* Number of bits in a file offset, on hosts where this is settable. */ 498 /* #undef _FILE_OFFSET_BITS */ 499 500 /* Define for large files, on AIX-style hosts. */ 501 /* #undef _LARGE_FILES */ 502 503 /* Define to empty if `const' does not conform to ANSI C. */ 504 /* #undef const */ 505 506 /* Type to use in place of in_addr_t when system does not provide it. */ 507 /* #undef in_addr_t */ 508 509 /* Define to `unsigned int' if <sys/types.h> does not define. */ 510 /* #undef size_t */ 511 512 /* the signed version of size_t */ 513 /* #undef ssize_t */ 514 515 #define HAVE_GETENV 1 516