1 /* $NetBSD: event-config.h,v 1.1.1.2 2021/04/07 02:43:15 christos Exp $ */ 2 /* event2/event-config.h 3 * 4 * This file was generated by autoconf when libevent was built, and post- 5 * processed by Libevent so that its macros would have a uniform prefix. 6 * 7 * DO NOT EDIT THIS FILE. 8 * 9 * Do not rely on macros in this file existing in later versions. 10 */ 11 #ifndef EVENT_CONFIG_H__ 12 #define EVENT_CONFIG_H__ 13 /* config.h. Generated by configure. */ 14 /* config.h.in. Generated from configure.in by autoheader. */ 15 16 /* Define if libevent should not allow replacing the mm functions */ 17 /* #undef EVENT__DISABLE_MM_REPLACEMENT */ 18 19 /* Define if libevent should not be compiled with thread support */ 20 /* #undef EVENT__DISABLE_THREAD_SUPPORT */ 21 22 /* Define if clock_gettime is available in libc */ 23 /* #undef _EVENT_DNS_USE_CPU_CLOCK_FOR_ID */ 24 25 /* Define is no secure id variant is available */ 26 /* #define _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID 1 */ 27 #define EVENT_DNS_USE_FTIME_FOR_ID_ 1 28 29 /* Define to 1 if you have the <arpa/inet.h> header file. */ 30 /* #undef EVENT__HAVE_ARPA_INET_H */ 31 32 /* Define to 1 if you have the `clock_gettime' function. */ 33 /* #undef EVENT__HAVE_CLOCK_GETTIME */ 34 35 /* Define if /dev/poll is available */ 36 /* #undef EVENT__HAVE_DEVPOLL */ 37 38 /* Define to 1 if you have the <dlfcn.h> header file. */ 39 /* #undef EVENT__HAVE_DLFCN_H */ 40 41 /* Define if your system supports the epoll system calls */ 42 /* #undef EVENT__HAVE_EPOLL */ 43 44 /* Define to 1 if you have the `epoll_ctl' function. */ 45 /* #undef EVENT__HAVE_EPOLL_CTL */ 46 47 /* Define to 1 if you have the `eventfd' function. */ 48 /* #undef EVENT__HAVE_EVENTFD */ 49 50 /* Define if your system supports event ports */ 51 /* #undef EVENT__HAVE_EVENT_PORTS */ 52 53 /* Define to 1 if you have the `fcntl' function. */ 54 /* #undef EVENT__HAVE_FCNTL */ 55 56 /* Define to 1 if you have the <fcntl.h> header file. */ 57 #define EVENT__HAVE_FCNTL_H 1 58 59 /* Define to 1 if you have the `getaddrinfo' function. */ 60 #define EVENT__HAVE_GETADDRINFO 1 61 62 /* Define to 1 if you have the `getnameinfo' function. */ 63 #define EVENT__HAVE_GETNAMEINFO 1 64 65 /* Define to 1 if you have the `getprotobynumber' function. */ 66 #define EVENT__HAVE_GETPROTOBYNUMBER 1 67 68 /* Define to 1 if you have the `getservbyname' function. */ 69 #define EVENT__HAVE_GETSERVBYNAME 1 70 71 /* Define to 1 if you have the `gettimeofday' function. */ 72 /* #define EVENT__HAVE_GETTIMEOFDAY 1 */ 73 74 /* Define to 1 if you have the `inet_ntop' function. */ 75 /* #undef EVENT__HAVE_INET_NTOP */ 76 77 /* Define to 1 if you have the `inet_pton' function. */ 78 /* #undef EVENT__HAVE_INET_PTON */ 79 80 /* Define to 1 if you have the <inttypes.h> header file. */ 81 /* #define EVENT__HAVE_INTTYPES_H 1 */ 82 83 /* Define to 1 if you have the `kqueue' function. */ 84 /* #undef EVENT__HAVE_KQUEUE */ 85 86 /* Define if the system has zlib */ 87 /* #undef EVENT__HAVE_LIBZ */ 88 89 /* Define to 1 if you have the <memory.h> header file. */ 90 #define EVENT__HAVE_MEMORY_H 1 91 92 /* Define to 1 if you have the `mmap' function. */ 93 /* #undef EVENT__HAVE_MMAP */ 94 95 /* Define to 1 if you have the <netinet/in6.h> header file. */ 96 /* #undef EVENT__HAVE_NETINET_IN6_H */ 97 98 /* Define to 1 if you have the <netinet/in.h> header file. */ 99 /* #undef EVENT__HAVE_NETINET_IN_H */ 100 101 /* Define to 1 if you have the `pipe' function. */ 102 /* #undef EVENT__HAVE_PIPE */ 103 104 /* Define to 1 if you have the `poll' function. */ 105 /* #undef EVENT__HAVE_POLL */ 106 107 /* Define to 1 if you have the <poll.h> header file. */ 108 /* #undef EVENT__HAVE_POLL_H */ 109 110 /* Define to 1 if you have the `port_create' function. */ 111 /* #undef EVENT__HAVE_PORT_CREATE */ 112 113 /* Define to 1 if you have the <port.h> header file. */ 114 /* #undef EVENT__HAVE_PORT_H */ 115 116 /* Define if you have POSIX threads libraries and header files. */ 117 /* #undef EVENT__HAVE_PTHREAD */ 118 119 /* Define if we have pthreads on this system */ 120 /* #undef EVENT__HAVE_PTHREADS */ 121 122 /* Define to 1 if the system has the type `sa_family_t'. */ 123 /* #undef EVENT__HAVE_SA_FAMILY_T */ 124 125 /* Define to 1 if you have the `select' function. */ 126 /* #undef EVENT__HAVE_SELECT */ 127 128 /* Define to 1 if you have the `sendfile' function. */ 129 /* #undef EVENT__HAVE_SENDFILE */ 130 131 /* Define if F_SETFD is defined in <fcntl.h> */ 132 /* #undef EVENT__HAVE_SETFD */ 133 134 /* Define to 1 if you have the `sigaction' function. */ 135 /* #undef EVENT__HAVE_SIGACTION */ 136 137 /* Define to 1 if you have the `signal' function. */ 138 #define EVENT__HAVE_SIGNAL 1 139 140 /* Define to 1 if you have the `splice' function. */ 141 /* #undef EVENT__HAVE_SPLICE */ 142 143 /* Define to 1 if you have the <stdarg.h> header file. */ 144 #define EVENT__HAVE_STDARG_H 1 145 146 /* Define to 1 if you have the <stddef.h> header file. */ 147 #define EVENT__HAVE_STDDEF_H 1 148 149 /* Define to 1 if you have the <stdint.h> header file. */ 150 /* #define EVENT__HAVE_STDINT_H 1 */ 151 152 /* Define to 1 if you have the <stdlib.h> header file. */ 153 #define EVENT__HAVE_STDLIB_H 1 154 155 /* Define to 1 if you have the <strings.h> header file. */ 156 #define EVENT__HAVE_STRINGS_H 1 157 158 /* Define to 1 if you have the <string.h> header file. */ 159 #define EVENT__HAVE_STRING_H 1 160 161 /* Define to 1 if you have the `strlcpy' function. */ 162 /* #undef EVENT__HAVE_STRLCPY */ 163 164 /* Define to 1 if you have the `strsep' function. */ 165 /* #undef EVENT__HAVE_STRSEP */ 166 167 /* Define to 1 if you have the `strtok_r' function. */ 168 /* #undef EVENT__HAVE_STRTOK_R */ 169 170 /* Define to 1 if you have the `strtoll' function. */ 171 /* #define EVENT__HAVE_STRTOLL 1 */ 172 173 #define EVENT__HAVE_STRUCT_ADDRINFO 1 174 175 /* Define to 1 if the system has the type `struct in6_addr'. */ 176 #define EVENT__HAVE_STRUCT_IN6_ADDR 1 177 178 /* Define to 1 if `s6_addr16' is member of `struct in6_addr'. */ 179 #define EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1 180 181 /* Define to 1 if `s6_addr32' is member of `struct in6_addr'. */ 182 #define EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1 183 184 /* Define to 1 if the system has the type `struct sockaddr_in6'. */ 185 #define EVENT__HAVE_STRUCT_SOCKADDR_IN6 1 186 187 /* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */ 188 /* #undef EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN */ 189 190 /* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */ 191 /* #undef EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN */ 192 193 /* Define to 1 if the system has the type `struct sockaddr_storage'. */ 194 #define EVENT__HAVE_STRUCT_SOCKADDR_STORAGE 1 195 196 /* Define to 1 if you have the <sys/epoll.h> header file. */ 197 /* #undef EVENT__HAVE_SYS_EPOLL_H */ 198 199 /* Define to 1 if you have the <sys/eventfd.h> header file. */ 200 /* #undef EVENT__HAVE_SYS_EVENTFD_H */ 201 202 /* Define to 1 if you have the <sys/event.h> header file. */ 203 /* #undef EVENT__HAVE_SYS_EVENT_H */ 204 205 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 206 /* #undef EVENT__HAVE_SYS_IOCTL_H */ 207 208 /* Define to 1 if you have the <sys/mman.h> header file. */ 209 /* #undef EVENT__HAVE_SYS_MMAN_H */ 210 211 /* Define to 1 if you have the <sys/param.h> header file. */ 212 /* #define EVENT__HAVE_SYS_PARAM_H 1 */ 213 214 /* Define to 1 if you have the <sys/queue.h> header file. */ 215 /* #undef EVENT__HAVE_SYS_QUEUE_H */ 216 217 /* Define to 1 if you have the <sys/select.h> header file. */ 218 /* #undef EVENT__HAVE_SYS_SELECT_H */ 219 220 /* Define to 1 if you have the <sys/sendfile.h> header file. */ 221 /* #undef EVENT__HAVE_SYS_SENDFILE_H */ 222 223 /* Define to 1 if you have the <sys/socket.h> header file. */ 224 /* #undef EVENT__HAVE_SYS_SOCKET_H */ 225 226 /* Define to 1 if you have the <sys/stat.h> header file. */ 227 #define EVENT__HAVE_SYS_STAT_H 1 228 229 /* Define to 1 if you have the <sys/time.h> header file. */ 230 /* #define EVENT__HAVE_SYS_TIME_H 1 */ 231 232 /* Define to 1 if you have the <sys/types.h> header file. */ 233 #define EVENT__HAVE_SYS_TYPES_H 1 234 235 /* Define to 1 if you have the <sys/uio.h> header file. */ 236 /* #undef EVENT__HAVE_SYS_UIO_H */ 237 238 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 239 /* #undef EVENT__HAVE_TAILQFOREACH */ 240 241 /* Define if timeradd is defined in <sys/time.h> */ 242 /* #undef EVENT__HAVE_TIMERADD */ 243 244 /* Define if timerclear is defined in <sys/time.h> */ 245 #define EVENT__HAVE_TIMERCLEAR 1 246 247 /* Define if timercmp is defined in <sys/time.h> */ 248 #define EVENT__HAVE_TIMERCMP 1 249 250 /* Define if timerisset is defined in <sys/time.h> */ 251 #define EVENT__HAVE_TIMERISSET 1 252 253 /* Define to 1 if the system has the type `uint16_t'. */ 254 /* #define EVENT__HAVE_UINT16_T 1 */ 255 256 /* Define to 1 if the system has the type `uint32_t'. */ 257 /* #define EVENT__HAVE_UINT32_T 1 */ 258 259 /* Define to 1 if the system has the type `uint64_t'. */ 260 /* #define EVENT__HAVE_UINT64_T 1 */ 261 262 /* Define to 1 if the system has the type `uint8_t'. */ 263 /* #define EVENT__HAVE_UINT8_T 1 */ 264 265 /* Define to 1 if you have the <unistd.h> header file. */ 266 /* #define EVENT__HAVE_UNISTD_H 1 */ 267 268 /* Define to 1 if you have the `vasprintf' function. */ 269 /* #undef EVENT__HAVE_VASPRINTF */ 270 271 /* Define if kqueue works correctly with pipes */ 272 /* #undef EVENT__HAVE_WORKING_KQUEUE */ 273 274 /* Numeric representation of the version */ 275 #define EVENT__NUMERIC_VERSION 0x02010c00 276 277 /* Name of package */ 278 #define EVENT__PACKAGE "libevent" 279 280 /* Define to the address where bug reports for this package should be sent. */ 281 #define EVENT__PACKAGE_BUGREPORT "" 282 283 /* Define to the full name of this package. */ 284 #define EVENT__PACKAGE_NAME "" 285 286 /* Define to the full name and version of this package. */ 287 #define EVENT__PACKAGE_STRING "" 288 289 /* Define to the one symbol short name of this package. */ 290 #define EVENT__PACKAGE_TARNAME "" 291 292 /* Define to the version of this package. */ 293 #define EVENT__PACKAGE_VERSION "" 294 295 /* Define to necessary symbol if this constant uses a non-standard name on 296 your system. */ 297 /* #undef EVENT__PTHREAD_CREATE_JOINABLE */ 298 299 /* The size of a `int', as computed by sizeof. */ 300 #define EVENT__SIZEOF_INT 4 301 302 /* The size of a `long', as computed by sizeof. */ 303 #define EVENT__SIZEOF_LONG 4 304 305 /* The size of a `long long', as computed by sizeof. */ 306 #define EVENT__SIZEOF_LONG_LONG 8 307 308 /* The size of a `short', as computed by sizeof. */ 309 #define EVENT__SIZEOF_SHORT 2 310 311 /* The size of `size_t', as computed by sizeof. */ 312 #ifdef _WIN64 313 #define EVENT__SIZEOF_SIZE_T 8 314 #else 315 #define EVENT__SIZEOF_SIZE_T 4 316 #endif 317 318 /* The size of `void *', as computed by sizeof. */ 319 #ifdef _WIN64 320 #define EVENT__SIZEOF_VOID_P 8 321 #else 322 #define EVENT__SIZEOF_VOID_P 4 323 #endif 324 325 /* The size of `time_t`, as computed by sizeof. */ 326 #ifdef _WIN64 327 #define EVENT__SIZEOF_TIME_T 8 328 #else 329 #define EVENT__SIZEOF_TIME_T 4 330 #endif 331 332 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 333 #define EVENT__TIME_WITH_SYS_TIME 1 334 335 /* Version number of package */ 336 #define EVENT__VERSION "2.1.12-stable" 337 338 /* Define to `__inline__' or `__inline' if that's what the C compiler 339 calls it, or to nothing if 'inline' is not supported under any name. */ 340 #define EVENT__inline __inline 341 342 /* Define to `unsigned' if <sys/types.h> does not define. */ 343 /* #undef EVENT__size_t */ 344 345 /* Define to unsigned int if you dont have it */ 346 #define EVENT__socklen_t unsigned int 347 348 /* Define to `int' if <sys/types.h> does not define. */ 349 #define EVENT__ssize_t SSIZE_T 350 351 #endif 352