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