• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* src/lib/ares_config.h.  Generated from ares_config.h.in by configure.  */
2 /* src/lib/ares_config.h.in.  Generated from configure.ac by autoheader.  */
3 
4 /* a suitable file/device to read random data from */
5 #define CARES_RANDOM_FILE "/dev/urandom"
6 
7 /* Set to 1 if non-pubilc shared library symbols are hidden */
8 #define CARES_SYMBOL_HIDING 1
9 
10 /* Threading enabled */
11 #define CARES_THREADS 1
12 
13 /* the signed version of size_t */
14 #define CARES_TYPEOF_ARES_SSIZE_T ssize_t
15 
16 /* Use resolver library to configure cares */
17 /* #undef CARES_USE_LIBRESOLV */
18 
19 /* if a /etc/inet dir is being used */
20 /* #undef ETC_INET */
21 
22 /* gethostname() arg2 type */
23 #define GETHOSTNAME_TYPE_ARG2 size_t
24 
25 /* getnameinfo() arg1 type */
26 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
27 
28 /* getnameinfo() arg2 type */
29 #define GETNAMEINFO_TYPE_ARG2 socklen_t
30 
31 /* getnameinfo() arg4 and 6 type */
32 #define GETNAMEINFO_TYPE_ARG46 socklen_t
33 
34 /* getnameinfo() arg7 type */
35 #define GETNAMEINFO_TYPE_ARG7 int
36 
37 /* number of arguments for getservbyname_r() */
38 /* #undef GETSERVBYNAME_R_ARGS */
39 
40 /* number of arguments for getservbyport_r() */
41 #define GETSERVBYPORT_R_ARGS 4
42 
43 /* Define to 1 if you have AF_INET6 */
44 #define HAVE_AF_INET6 1
45 
46 /* Define to 1 if you have `arc4random_buf` */
47 #define HAVE_ARC4RANDOM_BUF 1
48 
49 /* Define to 1 if you have the <arpa/inet.h> header file. */
50 #define HAVE_ARPA_INET_H 1
51 
52 /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
53 /* #undef HAVE_ARPA_NAMESER_COMPAT_H */
54 
55 /* Define to 1 if you have the <arpa/nameser.h> header file. */
56 #define HAVE_ARPA_NAMESER_H 1
57 
58 /* Define to 1 if you have the <assert.h> header file. */
59 #define HAVE_ASSERT_H 1
60 
61 /* Define to 1 if you have the <AvailabilityMacros.h> header file. */
62 /* #undef HAVE_AVAILABILITYMACROS_H */
63 
64 /* Define to 1 if you have `clock_gettime` */
65 #define HAVE_CLOCK_GETTIME 1
66 
67 /* clock_gettime() with CLOCK_MONOTONIC support */
68 #define HAVE_CLOCK_GETTIME_MONOTONIC 1
69 
70 /* Define to 1 if you have `closesocket` */
71 /* #undef HAVE_CLOSESOCKET */
72 
73 /* Define to 1 if you have `CloseSocket` */
74 /* #undef HAVE_CLOSESOCKET_CAMEL */
75 
76 /* Define to 1 if you have `connect` */
77 #define HAVE_CONNECT 1
78 
79 /* Define to 1 if you have `ConvertInterfaceIndexToLuid` */
80 /* #undef HAVE_CONVERTINTERFACEINDEXTOLUID */
81 
82 /* Define to 1 if you have `ConvertInterfaceLuidToNameA` */
83 /* #undef HAVE_CONVERTINTERFACELUIDTONAMEA */
84 
85 /* define if the compiler supports basic C++14 syntax */
86 #define HAVE_CXX14 1
87 
88 /* Define to 1 if you have the <dlfcn.h> header file. */
89 #define HAVE_DLFCN_H 1
90 
91 /* Define to 1 if you have `epoll_{create1,ctl,wait}` */
92 /* #undef HAVE_EPOLL */
93 
94 /* Define to 1 if you have the <errno.h> header file. */
95 #define HAVE_ERRNO_H 1
96 
97 /* Define to 1 if you have `fcntl` */
98 #define HAVE_FCNTL 1
99 
100 /* Define to 1 if you have the <fcntl.h> header file. */
101 #define HAVE_FCNTL_H 1
102 
103 /* fcntl() with O_NONBLOCK support */
104 #define HAVE_FCNTL_O_NONBLOCK 1
105 
106 /* Define to 1 if you have `getenv` */
107 #define HAVE_GETENV 1
108 
109 /* Define to 1 if you have `gethostname` */
110 #define HAVE_GETHOSTNAME 1
111 
112 /* Define to 1 if you have `getifaddrs` */
113 #define HAVE_GETIFADDRS 1
114 
115 /* Define to 1 if you have `getnameinfo` */
116 #define HAVE_GETNAMEINFO 1
117 
118 /* Define to 1 if you have `getrandom` */
119 /* #undef HAVE_GETRANDOM */
120 
121 /* Define to 1 if you have `getservbyport_r` */
122 #define HAVE_GETSERVBYPORT_R 1
123 
124 /* Define to 1 if you have `gettimeofday` */
125 #define HAVE_GETTIMEOFDAY 1
126 
127 /* Define to 1 if you have the <ifaddrs.h> header file. */
128 #define HAVE_IFADDRS_H 1
129 
130 /* Define to 1 if you have `if_indextoname` */
131 #define HAVE_IF_INDEXTONAME 1
132 
133 /* Define to 1 if you have `if_nametoindex` */
134 #define HAVE_IF_NAMETOINDEX 1
135 
136 /* Define to 1 if you have `inet_net_pton` */
137 #define HAVE_INET_NET_PTON 1
138 
139 /* Define to 1 if you have `inet_ntop` */
140 #define HAVE_INET_NTOP 1
141 
142 /* Define to 1 if you have `inet_pton` */
143 #define HAVE_INET_PTON 1
144 
145 /* Define to 1 if you have the <inttypes.h> header file. */
146 #define HAVE_INTTYPES_H 1
147 
148 /* Define to 1 if you have `ioctl` */
149 #define HAVE_IOCTL 1
150 
151 /* Define to 1 if you have `ioctlsocket` */
152 /* #undef HAVE_IOCTLSOCKET */
153 
154 /* Define to 1 if you have `IoctlSocket` */
155 /* #undef HAVE_IOCTLSOCKET_CAMEL */
156 
157 /* ioctlsocket() with FIONBIO support */
158 /* #undef HAVE_IOCTLSOCKET_FIONBIO */
159 
160 /* ioctl() with FIONBIO support */
161 #define HAVE_IOCTL_FIONBIO 1
162 
163 /* Define to 1 if you have the <iphlpapi.h> header file. */
164 /* #undef HAVE_IPHLPAPI_H */
165 
166 /* Define to 1 if you have `kqueue` */
167 #define HAVE_KQUEUE 1
168 
169 /* Define to 1 if you have the <limits.h> header file. */
170 #define HAVE_LIMITS_H 1
171 
172 /* Define to 1 if the compiler supports the 'long long' data type. */
173 #define HAVE_LONGLONG 1
174 
175 /* Define to 1 if you have the <malloc.h> header file. */
176 /* #undef HAVE_MALLOC_H */
177 
178 /* Define to 1 if you have the <memory.h> header file. */
179 #define HAVE_MEMORY_H 1
180 
181 /* Define to 1 if you have the <minix/config.h> header file. */
182 /* #undef HAVE_MINIX_CONFIG_H */
183 
184 /* Define to 1 if you have the <mswsock.h> header file. */
185 /* #undef HAVE_MSWSOCK_H */
186 
187 /* Define to 1 if you have the <netdb.h> header file. */
188 #define HAVE_NETDB_H 1
189 
190 /* Define to 1 if you have the <netinet/in.h> header file. */
191 #define HAVE_NETINET_IN_H 1
192 
193 /* Define to 1 if you have the <netinet/tcp.h> header file. */
194 #define HAVE_NETINET_TCP_H 1
195 
196 /* Define to 1 if you have the <netioapi.h> header file. */
197 /* #undef HAVE_NETIOAPI_H */
198 
199 /* Define to 1 if you have the <net/if.h> header file. */
200 #define HAVE_NET_IF_H 1
201 
202 /* Define to 1 if you have the <ntdef.h> header file. */
203 /* #undef HAVE_NTDEF_H */
204 
205 /* Define to 1 if you have the <ntstatus.h> header file. */
206 /* #undef HAVE_NTSTATUS_H */
207 
208 /* Define to 1 if you have PF_INET6 */
209 #define HAVE_PF_INET6 1
210 
211 /* Define to 1 if you have `pipe` */
212 #define HAVE_PIPE 1
213 
214 /* Define to 1 if you have `pipe2` */
215 #define HAVE_PIPE2 1
216 
217 /* Define to 1 if you have `poll` */
218 #define HAVE_POLL 1
219 
220 /* Define to 1 if you have the <poll.h> header file. */
221 #define HAVE_POLL_H 1
222 
223 /* Define to 1 if you have the <pthread.h> header file. */
224 #define HAVE_PTHREAD_H 1
225 
226 /* Define to 1 if you have the <pthread_np.h> header file. */
227 #define HAVE_PTHREAD_NP_H 1
228 
229 /* Have PTHREAD_PRIO_INHERIT. */
230 #define HAVE_PTHREAD_PRIO_INHERIT 1
231 
232 /* Define to 1 if you have `recv` */
233 #define HAVE_RECV 1
234 
235 /* Define to 1 if you have `recvfrom` */
236 #define HAVE_RECVFROM 1
237 
238 /* Define to 1 if you have `send` */
239 #define HAVE_SEND 1
240 
241 /* Define to 1 if you have `setsockopt` */
242 #define HAVE_SETSOCKOPT 1
243 
244 /* setsockopt() with SO_NONBLOCK support */
245 /* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
246 
247 /* Define to 1 if you have `socket` */
248 #define HAVE_SOCKET 1
249 
250 /* Define to 1 if you have the <socket.h> header file. */
251 /* #undef HAVE_SOCKET_H */
252 
253 /* socklen_t */
254 #define HAVE_SOCKLEN_T /**/
255 
256 /* Define to 1 if you have `stat` */
257 #define HAVE_STAT 1
258 
259 /* Define to 1 if you have the <stdbool.h> header file. */
260 #define HAVE_STDBOOL_H 1
261 
262 /* Define to 1 if you have the <stdint.h> header file. */
263 #define HAVE_STDINT_H 1
264 
265 /* Define to 1 if you have the <stdio.h> header file. */
266 #define HAVE_STDIO_H 1
267 
268 /* Define to 1 if you have the <stdlib.h> header file. */
269 #define HAVE_STDLIB_H 1
270 
271 /* Define to 1 if you have `strcasecmp` */
272 #define HAVE_STRCASECMP 1
273 
274 /* Define to 1 if you have `strdup` */
275 #define HAVE_STRDUP 1
276 
277 /* Define to 1 if you have `stricmp` */
278 /* #undef HAVE_STRICMP */
279 
280 /* Define to 1 if you have the <strings.h> header file. */
281 #define HAVE_STRINGS_H 1
282 
283 /* Define to 1 if you have the <string.h> header file. */
284 #define HAVE_STRING_H 1
285 
286 /* Define to 1 if you have `strncasecmp` */
287 #define HAVE_STRNCASECMP 1
288 
289 /* Define to 1 if you have `strncmpi` */
290 /* #undef HAVE_STRNCMPI */
291 
292 /* Define to 1 if you have `strnicmp` */
293 /* #undef HAVE_STRNICMP */
294 
295 /* Define to 1 if the system has the type 'struct addrinfo'. */
296 #define HAVE_STRUCT_ADDRINFO 1
297 
298 /* Define to 1 if 'ai_flags' is a member of 'struct addrinfo'. */
299 #define HAVE_STRUCT_ADDRINFO_AI_FLAGS 1
300 
301 /* Define to 1 if the system has the type 'struct in6_addr'. */
302 #define HAVE_STRUCT_IN6_ADDR 1
303 
304 /* Define to 1 if the system has the type 'struct sockaddr_in6'. */
305 #define HAVE_STRUCT_SOCKADDR_IN6 1
306 
307 /* Define to 1 if 'sin6_scope_id' is a member of 'struct sockaddr_in6'. */
308 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
309 
310 /* Define to 1 if the system has the type 'struct sockaddr_storage'. */
311 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
312 
313 /* Define to 1 if the system has the type 'struct timeval'. */
314 #define HAVE_STRUCT_TIMEVAL 1
315 
316 /* Define to 1 if you have the <sys/epoll.h> header file. */
317 /* #undef HAVE_SYS_EPOLL_H */
318 
319 /* Define to 1 if you have the <sys/event.h> header file. */
320 #define HAVE_SYS_EVENT_H 1
321 
322 /* Define to 1 if you have the <sys/filio.h> header file. */
323 #define HAVE_SYS_FILIO_H 1
324 
325 /* Define to 1 if you have the <sys/ioctl.h> header file. */
326 #define HAVE_SYS_IOCTL_H 1
327 
328 /* Define to 1 if you have the <sys/param.h> header file. */
329 #define HAVE_SYS_PARAM_H 1
330 
331 /* Define to 1 if you have the <sys/random.h> header file. */
332 /* #undef HAVE_SYS_RANDOM_H */
333 
334 /* Define to 1 if you have the <sys/select.h> header file. */
335 #define HAVE_SYS_SELECT_H 1
336 
337 /* Define to 1 if you have the <sys/socket.h> header file. */
338 #define HAVE_SYS_SOCKET_H 1
339 
340 /* Define to 1 if you have the <sys/stat.h> header file. */
341 #define HAVE_SYS_STAT_H 1
342 
343 /* Define to 1 if you have the <sys/time.h> header file. */
344 #define HAVE_SYS_TIME_H 1
345 
346 /* Define to 1 if you have the <sys/types.h> header file. */
347 #define HAVE_SYS_TYPES_H 1
348 
349 /* Define to 1 if you have the <sys/uio.h> header file. */
350 #define HAVE_SYS_UIO_H 1
351 
352 /* Define to 1 if you have the <time.h> header file. */
353 #define HAVE_TIME_H 1
354 
355 /* Define to 1 if you have the <unistd.h> header file. */
356 #define HAVE_UNISTD_H 1
357 
358 /* Whether user namespaces are available */
359 /* #undef HAVE_USER_NAMESPACE */
360 
361 /* Whether UTS namespaces are available */
362 /* #undef HAVE_UTS_NAMESPACE */
363 
364 /* Define to 1 if you have the <wchar.h> header file. */
365 #define HAVE_WCHAR_H 1
366 
367 /* Define to 1 if you have the <windows.h> header file. */
368 /* #undef HAVE_WINDOWS_H */
369 
370 /* Define to 1 if you have the <winsock2.h> header file. */
371 /* #undef HAVE_WINSOCK2_H */
372 
373 /* Define to 1 if you have the <winternl.h> header file. */
374 /* #undef HAVE_WINTERNL_H */
375 
376 /* Define to 1 if you have `writev` */
377 #define HAVE_WRITEV 1
378 
379 /* Define to 1 if you have the <ws2ipdef.h> header file. */
380 /* #undef HAVE_WS2IPDEF_H */
381 
382 /* Define to 1 if you have the <ws2tcpip.h> header file. */
383 /* #undef HAVE_WS2TCPIP_H */
384 
385 /* Define to 1 if you have `__system_property_get` */
386 /* #undef HAVE___SYSTEM_PROPERTY_GET */
387 
388 /* Define to the sub-directory where libtool stores uninstalled libraries. */
389 #define LT_OBJDIR ".libs/"
390 
391 /* Name of package */
392 #define PACKAGE "c-ares"
393 
394 /* Define to the address where bug reports for this package should be sent. */
395 #define PACKAGE_BUGREPORT "c-ares mailing list: http://lists.haxx.se/listinfo/c-ares"
396 
397 /* Define to the full name of this package. */
398 #define PACKAGE_NAME "c-ares"
399 
400 /* Define to the full name and version of this package. */
401 #define PACKAGE_STRING "c-ares 1.26.0"
402 
403 /* Define to the one symbol short name of this package. */
404 #define PACKAGE_TARNAME "c-ares"
405 
406 /* Define to the home page for this package. */
407 #define PACKAGE_URL ""
408 
409 /* Define to the version of this package. */
410 #define PACKAGE_VERSION "1.26.0"
411 
412 /* Define to necessary symbol if this constant uses a non-standard name on
413    your system. */
414 /* #undef PTHREAD_CREATE_JOINABLE */
415 
416 /* recvfrom() arg5 qualifier */
417 #define RECVFROM_QUAL_ARG5
418 
419 /* recvfrom() arg1 type */
420 #define RECVFROM_TYPE_ARG1 int
421 
422 /* recvfrom() arg2 type */
423 #define RECVFROM_TYPE_ARG2 void *
424 
425 /* recvfrom() arg3 type */
426 #define RECVFROM_TYPE_ARG3 size_t
427 
428 /* recvfrom() arg4 type */
429 #define RECVFROM_TYPE_ARG4 int
430 
431 /* recvfrom() arg5 type */
432 #define RECVFROM_TYPE_ARG5 struct sockaddr *
433 
434 /* recvfrom() return value */
435 #define RECVFROM_TYPE_RETV ssize_t
436 
437 /* recv() arg1 type */
438 #define RECV_TYPE_ARG1 int
439 
440 /* recv() arg2 type */
441 #define RECV_TYPE_ARG2 void *
442 
443 /* recv() arg3 type */
444 #define RECV_TYPE_ARG3 size_t
445 
446 /* recv() arg4 type */
447 #define RECV_TYPE_ARG4 int
448 
449 /* recv() return value */
450 #define RECV_TYPE_RETV ssize_t
451 
452 /* send() arg2 qualifier */
453 #define SEND_QUAL_ARG2
454 
455 /* send() arg1 type */
456 #define SEND_TYPE_ARG1 int
457 
458 /* send() arg2 type */
459 #define SEND_TYPE_ARG2 void *
460 
461 /* send() arg3 type */
462 #define SEND_TYPE_ARG3 size_t
463 
464 /* send() arg4 type */
465 #define SEND_TYPE_ARG4 int
466 
467 /* send() return value */
468 #define SEND_TYPE_RETV ssize_t
469 
470 /* Define to 1 if all of the C89 standard headers exist (not just the ones
471    required in a freestanding environment). This macro is provided for
472    backward compatibility; new code need not use it. */
473 #define STDC_HEADERS 1
474 
475 /* Enable extensions on AIX, Interix, z/OS.  */
476 #ifndef _ALL_SOURCE
477 # define _ALL_SOURCE 1
478 #endif
479 /* Enable general extensions on macOS.  */
480 #ifndef _DARWIN_C_SOURCE
481 # define _DARWIN_C_SOURCE 1
482 #endif
483 /* Enable general extensions on Solaris.  */
484 #ifndef __EXTENSIONS__
485 # define __EXTENSIONS__ 1
486 #endif
487 /* Enable GNU extensions on systems that have them.  */
488 #ifndef _GNU_SOURCE
489 # define _GNU_SOURCE 1
490 #endif
491 /* Enable X/Open compliant socket functions that do not require linking
492    with -lxnet on HP-UX 11.11.  */
493 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
494 # define _HPUX_ALT_XOPEN_SOCKET_API 1
495 #endif
496 /* Identify the host operating system as Minix.
497    This macro does not affect the system headers' behavior.
498    A future release of Autoconf may stop defining this macro.  */
499 #ifndef _MINIX
500 /* # undef _MINIX */
501 #endif
502 /* Enable general extensions on NetBSD.
503    Enable NetBSD compatibility extensions on Minix.  */
504 #ifndef _NETBSD_SOURCE
505 # define _NETBSD_SOURCE 1
506 #endif
507 /* Enable OpenBSD compatibility extensions on NetBSD.
508    Oddly enough, this does nothing on OpenBSD.  */
509 #ifndef _OPENBSD_SOURCE
510 # define _OPENBSD_SOURCE 1
511 #endif
512 /* Define to 1 if needed for POSIX-compatible behavior.  */
513 #ifndef _POSIX_SOURCE
514 /* # undef _POSIX_SOURCE */
515 #endif
516 /* Define to 2 if needed for POSIX-compatible behavior.  */
517 #ifndef _POSIX_1_SOURCE
518 /* # undef _POSIX_1_SOURCE */
519 #endif
520 /* Enable POSIX-compatible threading on Solaris.  */
521 #ifndef _POSIX_PTHREAD_SEMANTICS
522 # define _POSIX_PTHREAD_SEMANTICS 1
523 #endif
524 /* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
525 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
526 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
527 #endif
528 /* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
529 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
530 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
531 #endif
532 /* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
533 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
534 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
535 #endif
536 /* Enable extensions specified by C23 Annex F.  */
537 #ifndef __STDC_WANT_IEC_60559_EXT__
538 # define __STDC_WANT_IEC_60559_EXT__ 1
539 #endif
540 /* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
541 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
542 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
543 #endif
544 /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015.  */
545 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
546 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
547 #endif
548 /* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
549 #ifndef __STDC_WANT_LIB_EXT2__
550 # define __STDC_WANT_LIB_EXT2__ 1
551 #endif
552 /* Enable extensions specified by ISO/IEC 24747:2009.  */
553 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
554 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
555 #endif
556 /* Enable extensions on HP NonStop.  */
557 #ifndef _TANDEM_SOURCE
558 # define _TANDEM_SOURCE 1
559 #endif
560 /* Enable X/Open extensions.  Define to 500 only if necessary
561    to make mbstate_t available.  */
562 #ifndef _XOPEN_SOURCE
563 /* # undef _XOPEN_SOURCE */
564 #endif
565 
566 
567 /* Version number of package */
568 #define VERSION "1.26.0"
569 
570 /* Number of bits in a file offset, on hosts where this is settable. */
571 /* #undef _FILE_OFFSET_BITS */
572 
573 /* Define to 1 on platforms where this makes off_t a 64-bit type. */
574 /* #undef _LARGE_FILES */
575 
576 /* Number of bits in time_t, on hosts where this is settable. */
577 /* #undef _TIME_BITS */
578 
579 /* Define to 1 on platforms where this makes time_t a 64-bit type. */
580 /* #undef __MINGW_USE_VC2005_COMPAT */
581 
582 /* Define as 'unsigned int' if <stddef.h> doesn't define. */
583 /* #undef size_t */