ares_config.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. /* Generated from ares_config.h.cmake*/
  2. /* Define if building universal (internal helper macro) */
  3. #undef AC_APPLE_UNIVERSAL_BUILD
  4. /* define this if ares is built for a big endian system */
  5. #undef ARES_BIG_ENDIAN
  6. /* when building as static part of libcurl */
  7. #undef BUILDING_LIBCURL
  8. /* Defined for build that exposes internal static functions for testing. */
  9. #undef CARES_EXPOSE_STATICS
  10. /* Defined for build with symbol hiding. */
  11. #undef CARES_SYMBOL_HIDING
  12. /* Definition to make a library symbol externally visible. */
  13. #undef CARES_SYMBOL_SCOPE_EXTERN
  14. /* Use resolver library to configure cares */
  15. /* #undef CARES_USE_LIBRESOLV */
  16. /* if a /etc/inet dir is being used */
  17. #undef ETC_INET
  18. /* Define to the type of arg 2 for gethostname. */
  19. #define GETHOSTNAME_TYPE_ARG2 size_t
  20. /* Define to the type qualifier of arg 1 for getnameinfo. */
  21. #define GETNAMEINFO_QUAL_ARG1
  22. /* Define to the type of arg 1 for getnameinfo. */
  23. #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
  24. /* Define to the type of arg 2 for getnameinfo. */
  25. #define GETNAMEINFO_TYPE_ARG2 socklen_t
  26. /* Define to the type of args 4 and 6 for getnameinfo. */
  27. #define GETNAMEINFO_TYPE_ARG46 socklen_t
  28. /* Define to the type of arg 7 for getnameinfo. */
  29. #define GETNAMEINFO_TYPE_ARG7 int
  30. /* Specifies the number of arguments to getservbyport_r */
  31. #define GETSERVBYPORT_R_ARGS
  32. /* Define to 1 if you have AF_INET6. */
  33. #define HAVE_AF_INET6
  34. /* Define to 1 if you have the <arpa/inet.h> header file. */
  35. #define HAVE_ARPA_INET_H
  36. /* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
  37. #define HAVE_ARPA_NAMESER_COMPAT_H
  38. /* Define to 1 if you have the <arpa/nameser.h> header file. */
  39. #define HAVE_ARPA_NAMESER_H
  40. /* Define to 1 if you have the <assert.h> header file. */
  41. #define HAVE_ASSERT_H
  42. /* Define to 1 if you have the `bitncmp' function. */
  43. /* #undef HAVE_BITNCMP */
  44. /* Define to 1 if bool is an available type. */
  45. #define HAVE_BOOL_T
  46. /* Define to 1 if you have the clock_gettime function and monotonic timer. */
  47. /* IMPORTANT: gRPC MANUAL EDIT HERE!
  48. * defining HAVE_CLOCK_GETTIME_MONOTONIC breaks the MacOS build on gRPC CI */
  49. /* #undef HAVE_CLOCK_GETTIME_MONOTONIC */
  50. /* Define to 1 if you have the closesocket function. */
  51. /* #undef HAVE_CLOSESOCKET */
  52. /* Define to 1 if you have the CloseSocket camel case function. */
  53. /* #undef HAVE_CLOSESOCKET_CAMEL */
  54. /* Define to 1 if you have the connect function. */
  55. #define HAVE_CONNECT
  56. /* define if the compiler supports basic C++11 syntax */
  57. /* #undef HAVE_CXX11 */
  58. /* Define to 1 if you have the <dlfcn.h> header file. */
  59. #define HAVE_DLFCN_H
  60. /* Define to 1 if you have the <errno.h> header file. */
  61. #define HAVE_ERRNO_H
  62. /* Define to 1 if you have the fcntl function. */
  63. #define HAVE_FCNTL
  64. /* Define to 1 if you have the <fcntl.h> header file. */
  65. #define HAVE_FCNTL_H
  66. /* Define to 1 if you have a working fcntl O_NONBLOCK function. */
  67. #define HAVE_FCNTL_O_NONBLOCK
  68. /* Define to 1 if you have the freeaddrinfo function. */
  69. #define HAVE_FREEADDRINFO
  70. /* Define to 1 if you have a working getaddrinfo function. */
  71. #define HAVE_GETADDRINFO
  72. /* Define to 1 if the getaddrinfo function is threadsafe. */
  73. #define HAVE_GETADDRINFO_THREADSAFE
  74. /* Define to 1 if you have the getenv function. */
  75. #define HAVE_GETENV
  76. /* Define to 1 if you have the gethostbyaddr function. */
  77. #define HAVE_GETHOSTBYADDR
  78. /* Define to 1 if you have the gethostbyname function. */
  79. #define HAVE_GETHOSTBYNAME
  80. /* Define to 1 if you have the gethostname function. */
  81. #define HAVE_GETHOSTNAME
  82. /* Define to 1 if you have the getnameinfo function. */
  83. #define HAVE_GETNAMEINFO
  84. /* Define to 1 if you have the getservbyport_r function. */
  85. /* #undef HAVE_GETSERVBYPORT_R */
  86. /* Define to 1 if you have the `gettimeofday' function. */
  87. #define HAVE_GETTIMEOFDAY
  88. /* Define to 1 if you have the `if_indextoname' function. */
  89. #define HAVE_IF_INDEXTONAME
  90. /* Define to 1 if you have a IPv6 capable working inet_net_pton function. */
  91. #define HAVE_INET_NET_PTON
  92. /* Define to 1 if you have a IPv6 capable working inet_ntop function. */
  93. #define HAVE_INET_NTOP
  94. /* Define to 1 if you have a IPv6 capable working inet_pton function. */
  95. #define HAVE_INET_PTON
  96. /* Define to 1 if you have the <inttypes.h> header file. */
  97. #define HAVE_INTTYPES_H
  98. /* Define to 1 if you have the ioctl function. */
  99. #define HAVE_IOCTL
  100. /* Define to 1 if you have the ioctlsocket function. */
  101. /* #undef HAVE_IOCTLSOCKET */
  102. /* Define to 1 if you have the IoctlSocket camel case function. */
  103. /* #undef HAVE_IOCTLSOCKET_CAMEL */
  104. /* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
  105. */
  106. /* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */
  107. /* Define to 1 if you have a working ioctlsocket FIONBIO function. */
  108. /* #undef HAVE_IOCTLSOCKET_FIONBIO */
  109. /* Define to 1 if you have a working ioctl FIONBIO function. */
  110. #define HAVE_IOCTL_FIONBIO
  111. /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
  112. #define HAVE_IOCTL_SIOCGIFADDR
  113. /* Define to 1 if you have the `resolve' library (-lresolve). */
  114. #define HAVE_LIBRESOLV
  115. /* Define to 1 if you have the <limits.h> header file. */
  116. #define HAVE_LIMITS_H
  117. /* if your compiler supports LL */
  118. #define HAVE_LL
  119. /* Define to 1 if the compiler supports the 'long long' data type. */
  120. #define HAVE_LONGLONG
  121. /* Define to 1 if you have the malloc.h header file. */
  122. /* #undef HAVE_MALLOC_H */
  123. /* Define to 1 if you have the memory.h header file. */
  124. #define HAVE_MEMORY_H
  125. /* Define to 1 if you have the MSG_NOSIGNAL flag. */
  126. /* #undef HAVE_MSG_NOSIGNAL */
  127. /* Define to 1 if you have the <netdb.h> header file. */
  128. #define HAVE_NETDB_H
  129. /* Define to 1 if you have the <netinet/in.h> header file. */
  130. #define HAVE_NETINET_IN_H
  131. /* Define to 1 if you have the <netinet/tcp.h> header file. */
  132. #define HAVE_NETINET_TCP_H
  133. /* Define to 1 if you have the <net/if.h> header file. */
  134. #define HAVE_NET_IF_H
  135. /* Define to 1 if you have PF_INET6. */
  136. #define HAVE_PF_INET6
  137. /* Define to 1 if you have the recv function. */
  138. #define HAVE_RECV
  139. /* Define to 1 if you have the recvfrom function. */
  140. #define HAVE_RECVFROM
  141. /* Define to 1 if you have the send function. */
  142. #define HAVE_SEND
  143. /* Define to 1 if you have the setsockopt function. */
  144. #define HAVE_SETSOCKOPT
  145. /* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
  146. /* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
  147. /* Define to 1 if you have the <signal.h> header file. */
  148. #define HAVE_SIGNAL_H
  149. /* Define to 1 if sig_atomic_t is an available typedef. */
  150. #define HAVE_SIG_ATOMIC_T
  151. /* Define to 1 if sig_atomic_t is already defined as volatile. */
  152. /* #undef HAVE_SIG_ATOMIC_T_VOLATILE */
  153. /* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */
  154. #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
  155. /* Define to 1 if you have the socket function. */
  156. #define HAVE_SOCKET
  157. /* Define to 1 if you have the <socket.h> header file. */
  158. /* #undef HAVE_SOCKET_H */
  159. /* Define to 1 if you have the <stdbool.h> header file. */
  160. #define HAVE_STDBOOL_H
  161. /* Define to 1 if you have the <stdint.h> header file. */
  162. #define HAVE_STDINT_H
  163. /* Define to 1 if you have the <stdlib.h> header file. */
  164. #define HAVE_STDLIB_H
  165. /* Define to 1 if you have the strcasecmp function. */
  166. #define HAVE_STRCASECMP
  167. /* Define to 1 if you have the strcmpi function. */
  168. /* #undef HAVE_STRCMPI */
  169. /* Define to 1 if you have the strdup function. */
  170. #define HAVE_STRDUP
  171. /* Define to 1 if you have the stricmp function. */
  172. /* #undef HAVE_STRICMP */
  173. /* Define to 1 if you have the <strings.h> header file. */
  174. #define HAVE_STRINGS_H
  175. /* Define to 1 if you have the <string.h> header file. */
  176. #define HAVE_STRING_H
  177. /* Define to 1 if you have the strncasecmp function. */
  178. #define HAVE_STRNCASECMP
  179. /* Define to 1 if you have the strncmpi function. */
  180. /* #undef HAVE_STRNCMPI */
  181. /* Define to 1 if you have the strnicmp function. */
  182. /* #undef HAVE_STRNICMP */
  183. /* Define to 1 if you have the <stropts.h> header file. */
  184. /* #undef HAVE_STROPTS_H */
  185. /* Define to 1 if you have struct addrinfo. */
  186. #define HAVE_STRUCT_ADDRINFO
  187. /* Define to 1 if you have struct in6_addr. */
  188. #define HAVE_STRUCT_IN6_ADDR
  189. /* Define to 1 if you have struct sockaddr_in6. */
  190. #define HAVE_STRUCT_SOCKADDR_IN6
  191. /* if struct sockaddr_storage is defined */
  192. #define HAVE_STRUCT_SOCKADDR_STORAGE
  193. /* Define to 1 if you have the timeval struct. */
  194. #define HAVE_STRUCT_TIMEVAL
  195. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  196. #define HAVE_SYS_IOCTL_H
  197. /* Define to 1 if you have the <sys/param.h> header file. */
  198. #define HAVE_SYS_PARAM_H
  199. /* Define to 1 if you have the <sys/select.h> header file. */
  200. #define HAVE_SYS_SELECT_H
  201. /* Define to 1 if you have the <sys/socket.h> header file. */
  202. #define HAVE_SYS_SOCKET_H
  203. /* Define to 1 if you have the <sys/stat.h> header file. */
  204. #define HAVE_SYS_STAT_H
  205. /* Define to 1 if you have the <sys/time.h> header file. */
  206. #define HAVE_SYS_TIME_H
  207. /* Define to 1 if you have the <sys/types.h> header file. */
  208. #define HAVE_SYS_TYPES_H
  209. /* Define to 1 if you have the <sys/uio.h> header file. */
  210. #define HAVE_SYS_UIO_H
  211. /* Define to 1 if you have the <time.h> header file. */
  212. #define HAVE_TIME_H
  213. /* Define to 1 if you have the <unistd.h> header file. */
  214. #define HAVE_UNISTD_H
  215. /* Define to 1 if you have the windows.h header file. */
  216. /* #undef HAVE_WINDOWS_H */
  217. /* Define to 1 if you have the winsock2.h header file. */
  218. /* #undef HAVE_WINSOCK2_H */
  219. /* Define to 1 if you have the winsock.h header file. */
  220. /* #undef HAVE_WINSOCK_H */
  221. /* Define to 1 if you have the writev function. */
  222. #define HAVE_WRITEV
  223. /* Define to 1 if you have the ws2tcpip.h header file. */
  224. /* #undef HAVE_WS2TCPIP_H */
  225. /* Define if __system_property_get exists. */
  226. /* #undef HAVE___SYSTEM_PROPERTY_GET */
  227. /* Define to 1 if you need the malloc.h header file even with stdlib.h */
  228. /* #undef NEED_MALLOC_H */
  229. /* Define to 1 if you need the memory.h header file even with stdlib.h */
  230. /* #undef NEED_MEMORY_H */
  231. /* a suitable file/device to read random data from */
  232. /* #undef RANDOM_FILE */
  233. /* Define to the type qualifier pointed by arg 5 for recvfrom. */
  234. #define RECVFROM_QUAL_ARG5
  235. /* Define to the type of arg 1 for recvfrom. */
  236. #define RECVFROM_TYPE_ARG1 int
  237. /* Define to the type pointed by arg 2 for recvfrom. */
  238. #define RECVFROM_TYPE_ARG2 void *
  239. /* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
  240. #define RECVFROM_TYPE_ARG2_IS_VOID 0
  241. /* Define to the type of arg 3 for recvfrom. */
  242. #define RECVFROM_TYPE_ARG3 size_t
  243. /* Define to the type of arg 4 for recvfrom. */
  244. #define RECVFROM_TYPE_ARG4 int
  245. /* Define to the type pointed by arg 5 for recvfrom. */
  246. #define RECVFROM_TYPE_ARG5 struct sockaddr *
  247. /* Define to 1 if the type pointed by arg 5 for recvfrom is void. */
  248. #define RECVFROM_TYPE_ARG5_IS_VOID 0
  249. /* Define to the type pointed by arg 6 for recvfrom. */
  250. #define RECVFROM_TYPE_ARG6 socklen_t *
  251. /* Define to 1 if the type pointed by arg 6 for recvfrom is void. */
  252. #define RECVFROM_TYPE_ARG6_IS_VOID 0
  253. /* Define to the function return type for recvfrom. */
  254. #define RECVFROM_TYPE_RETV ssize_t
  255. /* Define to the type of arg 1 for recv. */
  256. #define RECV_TYPE_ARG1 int
  257. /* Define to the type of arg 2 for recv. */
  258. #define RECV_TYPE_ARG2 void *
  259. /* Define to the type of arg 3 for recv. */
  260. #define RECV_TYPE_ARG3 size_t
  261. /* Define to the type of arg 4 for recv. */
  262. #define RECV_TYPE_ARG4 int
  263. /* Define to the function return type for recv. */
  264. #define RECV_TYPE_RETV ssize_t
  265. /* Define as the return type of signal handlers (`int' or `void'). */
  266. #define RETSIGTYPE
  267. /* Define to the type qualifier of arg 2 for send. */
  268. #define SEND_QUAL_ARG2
  269. /* Define to the type of arg 1 for send. */
  270. #define SEND_TYPE_ARG1 int
  271. /* Define to the type of arg 2 for send. */
  272. #define SEND_TYPE_ARG2 void *
  273. /* Define to the type of arg 3 for send. */
  274. #define SEND_TYPE_ARG3 size_t
  275. /* Define to the type of arg 4 for send. */
  276. #define SEND_TYPE_ARG4 int
  277. /* Define to the function return type for send. */
  278. #define SEND_TYPE_RETV ssize_t
  279. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  280. #define TIME_WITH_SYS_TIME
  281. /* Define to disable non-blocking sockets. */
  282. #undef USE_BLOCKING_SOCKETS
  283. /* Define to avoid automatic inclusion of winsock.h */
  284. #undef WIN32_LEAN_AND_MEAN
  285. /* Type to use in place of in_addr_t when system does not provide it. */
  286. #undef in_addr_t