1 /* event2/event-config.h 2 * 3 * This file was generated by autoconf when libevent was built, and post- 4 * processed by Libevent so that its macros would have a uniform prefix. 5 * 6 * DO NOT EDIT THIS FILE. 7 * 8 * Do not rely on macros in this file existing in later versions. 9 */ 10 #ifndef _EVENT_CONFIG_H_ 11 #define _EVENT_CONFIG_H_ 12 /* config.h. Generated by configure. */ 13 /* config.h.in. Generated from configure.in by autoheader. */ 14 15 /* Define if libevent should not allow replacing the mm functions */ 16 /* #undef _EVENT_DISABLE_MM_REPLACEMENT */ 17 18 /* Define if libevent should not be compiled with thread support */ 19 /* #undef _EVENT_DISABLE_THREAD_SUPPORT */ 20 21 /* Define if clock_gettime is available in libc */ 22 /* #undef _EVENT_DNS_USE_CPU_CLOCK_FOR_ID */ 23 24 /* Define is no secure id variant is available */ 25 /* #define _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID 1 */ 26 #define _EVENT_DNS_USE_FTIME_FOR_ID 1 27 28 /* Define to 1 if you have the <arpa/inet.h> header file. */ 29 /* #undef _EVENT_HAVE_ARPA_INET_H */ 30 31 /* Define to 1 if you have the `clock_gettime' function. */ 32 /* #undef _EVENT_HAVE_CLOCK_GETTIME */ 33 34 /* Define if /dev/poll is available */ 35 /* #undef _EVENT_HAVE_DEVPOLL */ 36 37 /* Define to 1 if you have the <dlfcn.h> header file. */ 38 /* #undef _EVENT_HAVE_DLFCN_H */ 39 40 /* Define if your system supports the epoll system calls */ 41 /* #undef _EVENT_HAVE_EPOLL */ 42 43 /* Define to 1 if you have the `epoll_ctl' function. */ 44 /* #undef _EVENT_HAVE_EPOLL_CTL */ 45 46 /* Define to 1 if you have the `eventfd' function. */ 47 /* #undef _EVENT_HAVE_EVENTFD */ 48 49 /* Define if your system supports event ports */ 50 /* #undef _EVENT_HAVE_EVENT_PORTS */ 51 52 /* Define to 1 if you have the `fcntl' function. */ 53 /* #undef _EVENT_HAVE_FCNTL */ 54 55 /* Define to 1 if you have the <fcntl.h> header file. */ 56 #define _EVENT_HAVE_FCNTL_H 1 57 58 /* Define to 1 if you have the `getaddrinfo' function. */ 59 #define _EVENT_HAVE_GETADDRINFO 1 60 61 /* Define to 1 if you have the `getnameinfo' function. */ 62 #define _EVENT_HAVE_GETNAMEINFO 1 63 64 /* Define to 1 if you have the `getprotobynumber' function. */ 65 #define _EVENT_HAVE_GETPROTOBYNUMBER 1 66 67 /* Define to 1 if you have the `getservbyname' function. */ 68 #define _EVENT_HAVE_GETSERVBYNAME 1 69 70 /* Define to 1 if you have the `gettimeofday' function. */ 71 /* #define _EVENT_HAVE_GETTIMEOFDAY 1 */ 72 73 /* Define to 1 if you have the `inet_aton' function. */ 74 /* #undef _EVENT_HAVE_INET_ATON */ 75 76 /* Define to 1 if you have the `inet_ntop' function. */ 77 /* #undef _EVENT_HAVE_INET_NTOP */ 78 79 /* Define to 1 if you have the `inet_pton' function. */ 80 /* #undef _EVENT_HAVE_INET_PTON */ 81 82 /* Define to 1 if you have the <inttypes.h> header file. */ 83 /* #define _EVENT_HAVE_INTTYPES_H 1 */ 84 85 /* Define to 1 if you have the `kqueue' function. */ 86 /* #undef _EVENT_HAVE_KQUEUE */ 87 88 /* Define if the system has zlib */ 89 /* #undef _EVENT_HAVE_LIBZ */ 90 91 /* Define to 1 if you have the <memory.h> header file. */ 92 #define _EVENT_HAVE_MEMORY_H 1 93 94 /* Define to 1 if you have the `mmap' function. */ 95 /* #undef _EVENT_HAVE_MMAP */ 96 97 /* Define to 1 if you have the <netinet/in6.h> header file. */ 98 /* #undef _EVENT_HAVE_NETINET_IN6_H */ 99 100 /* Define to 1 if you have the <netinet/in.h> header file. */ 101 /* #undef _EVENT_HAVE_NETINET_IN_H */ 102 103 /* Define to 1 if you have the `pipe' function. */ 104 /* #undef _EVENT_HAVE_PIPE */ 105 106 /* Define to 1 if you have the `poll' function. */ 107 /* #undef _EVENT_HAVE_POLL */ 108 109 /* Define to 1 if you have the <poll.h> header file. */ 110 /* #undef _EVENT_HAVE_POLL_H */ 111 112 /* Define to 1 if you have the `port_create' function. */ 113 /* #undef _EVENT_HAVE_PORT_CREATE */ 114 115 /* Define to 1 if you have the <port.h> header file. */ 116 /* #undef _EVENT_HAVE_PORT_H */ 117 118 /* Define if you have POSIX threads libraries and header files. */ 119 /* #undef _EVENT_HAVE_PTHREAD */ 120 121 /* Define if we have pthreads on this system */ 122 /* #undef _EVENT_HAVE_PTHREADS */ 123 124 /* Define to 1 if the system has the type `sa_family_t'. */ 125 /* #undef _EVENT_HAVE_SA_FAMILY_T */ 126 127 /* Define to 1 if you have the `select' function. */ 128 /* #undef _EVENT_HAVE_SELECT */ 129 130 /* Define to 1 if you have the `sendfile' function. */ 131 /* #undef _EVENT_HAVE_SENDFILE */ 132 133 /* Define if F_SETFD is defined in <fcntl.h> */ 134 /* #undef _EVENT_HAVE_SETFD */ 135 136 /* Define to 1 if you have the `sigaction' function. */ 137 /* #undef _EVENT_HAVE_SIGACTION */ 138 139 /* Define to 1 if you have the `signal' function. */ 140 #define _EVENT_HAVE_SIGNAL 1 141 142 /* Define to 1 if you have the `splice' function. */ 143 /* #undef _EVENT_HAVE_SPLICE */ 144 145 /* Define to 1 if you have the <stdarg.h> header file. */ 146 #define _EVENT_HAVE_STDARG_H 1 147 148 /* Define to 1 if you have the <stddef.h> header file. */ 149 #define _EVENT_HAVE_STDDEF_H 1 150 151 /* Define to 1 if you have the <stdint.h> header file. */ 152 /* #define _EVENT_HAVE_STDINT_H 1 */ 153 154 /* Define to 1 if you have the <stdlib.h> header file. */ 155 #define _EVENT_HAVE_STDLIB_H 1 156 157 /* Define to 1 if you have the <strings.h> header file. */ 158 #define _EVENT_HAVE_STRINGS_H 1 159 160 /* Define to 1 if you have the <string.h> header file. */ 161 #define _EVENT_HAVE_STRING_H 1 162 163 /* Define to 1 if you have the `strlcpy' function. */ 164 /* #undef _EVENT_HAVE_STRLCPY */ 165 166 /* Define to 1 if you have the `strsep' function. */ 167 /* #undef _EVENT_HAVE_STRSEP */ 168 169 /* Define to 1 if you have the `strtok_r' function. */ 170 /* #undef _EVENT_HAVE_STRTOK_R */ 171 172 /* Define to 1 if you have the `strtoll' function. */ 173 /* #define _EVENT_HAVE_STRTOLL 1 */ 174 175 #define _EVENT_HAVE_STRUCT_ADDRINFO 1 176 177 /* Define to 1 if the system has the type `struct in6_addr'. */ 178 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1 179 180 /* Define to 1 if `s6_addr16' is member of `struct in6_addr'. */ 181 #define _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1 182 183 /* Define to 1 if `s6_addr32' is member of `struct in6_addr'. */ 184 #define _EVENT_HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1 185 186 /* Define to 1 if the system has the type `struct sockaddr_in6'. */ 187 #define _EVENT_HAVE_STRUCT_SOCKADDR_IN6 1 188 189 /* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */ 190 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN */ 191 192 /* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */ 193 /* #undef _EVENT_HAVE_STRUCT_SOCKADDR_IN_SIN_LEN */ 194 195 /* Define to 1 if the system has the type `struct sockaddr_storage'. */ 196 #define _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE 1 197 198 /* Define to 1 if you have the <sys/devpoll.h> header file. */ 199 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */ 200 201 /* Define to 1 if you have the <sys/epoll.h> header file. */ 202 /* #undef _EVENT_HAVE_SYS_EPOLL_H */ 203 204 /* Define to 1 if you have the <sys/eventfd.h> header file. */ 205 /* #undef _EVENT_HAVE_SYS_EVENTFD_H */ 206 207 /* Define to 1 if you have the <sys/event.h> header file. */ 208 /* #undef _EVENT_HAVE_SYS_EVENT_H */ 209 210 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 211 /* #undef _EVENT_HAVE_SYS_IOCTL_H */ 212 213 /* Define to 1 if you have the <sys/mman.h> header file. */ 214 /* #undef _EVENT_HAVE_SYS_MMAN_H */ 215 216 /* Define to 1 if you have the <sys/param.h> header file. */ 217 /* #define _EVENT_HAVE_SYS_PARAM_H 1 */ 218 219 /* Define to 1 if you have the <sys/queue.h> header file. */ 220 /* #undef _EVENT_HAVE_SYS_QUEUE_H */ 221 222 /* Define to 1 if you have the <sys/select.h> header file. */ 223 /* #undef _EVENT_HAVE_SYS_SELECT_H */ 224 225 /* Define to 1 if you have the <sys/sendfile.h> header file. */ 226 /* #undef _EVENT_HAVE_SYS_SENDFILE_H */ 227 228 /* Define to 1 if you have the <sys/socket.h> header file. */ 229 /* #undef _EVENT_HAVE_SYS_SOCKET_H */ 230 231 /* Define to 1 if you have the <sys/stat.h> header file. */ 232 #define _EVENT_HAVE_SYS_STAT_H 1 233 234 /* Define to 1 if you have the <sys/time.h> header file. */ 235 /* #define _EVENT_HAVE_SYS_TIME_H 1 */ 236 237 /* Define to 1 if you have the <sys/types.h> header file. */ 238 #define _EVENT_HAVE_SYS_TYPES_H 1 239 240 /* Define to 1 if you have the <sys/uio.h> header file. */ 241 /* #undef _EVENT_HAVE_SYS_UIO_H */ 242 243 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 244 /* #undef _EVENT_HAVE_TAILQFOREACH */ 245 246 /* Define if timeradd is defined in <sys/time.h> */ 247 /* #undef _EVENT_HAVE_TIMERADD */ 248 249 /* Define if timerclear is defined in <sys/time.h> */ 250 #define _EVENT_HAVE_TIMERCLEAR 1 251 252 /* Define if timercmp is defined in <sys/time.h> */ 253 #define _EVENT_HAVE_TIMERCMP 1 254 255 /* Define if timerisset is defined in <sys/time.h> */ 256 #define _EVENT_HAVE_TIMERISSET 1 257 258 /* Define to 1 if the system has the type `uint16_t'. */ 259 /* #define _EVENT_HAVE_UINT16_T 1 */ 260 261 /* Define to 1 if the system has the type `uint32_t'. */ 262 /* #define _EVENT_HAVE_UINT32_T 1 */ 263 264 /* Define to 1 if the system has the type `uint64_t'. */ 265 /* #define _EVENT_HAVE_UINT64_T 1 */ 266 267 /* Define to 1 if the system has the type `uint8_t'. */ 268 /* #define _EVENT_HAVE_UINT8_T 1 */ 269 270 /* Define to 1 if you have the <unistd.h> header file. */ 271 /* #define _EVENT_HAVE_UNISTD_H 1 */ 272 273 /* Define to 1 if you have the `vasprintf' function. */ 274 /* #undef _EVENT_HAVE_VASPRINTF */ 275 276 /* Define if kqueue works correctly with pipes */ 277 /* #undef _EVENT_HAVE_WORKING_KQUEUE */ 278 279 /* Numeric representation of the version */ 280 #define _EVENT_NUMERIC_VERSION 0x02001600 281 282 /* Name of package */ 283 #define _EVENT_PACKAGE "libevent" 284 285 /* Define to the address where bug reports for this package should be sent. */ 286 #define _EVENT_PACKAGE_BUGREPORT "" 287 288 /* Define to the full name of this package. */ 289 #define _EVENT_PACKAGE_NAME "" 290 291 /* Define to the full name and version of this package. */ 292 #define _EVENT_PACKAGE_STRING "" 293 294 /* Define to the one symbol short name of this package. */ 295 #define _EVENT_PACKAGE_TARNAME "" 296 297 /* Define to the version of this package. */ 298 #define _EVENT_PACKAGE_VERSION "" 299 300 /* Define to necessary symbol if this constant uses a non-standard name on 301 your system. */ 302 /* #undef _EVENT_PTHREAD_CREATE_JOINABLE */ 303 304 /* The size of a `int', as computed by sizeof. */ 305 #define _EVENT_SIZEOF_INT 4 306 307 /* The size of a `long', as computed by sizeof. */ 308 #define _EVENT_SIZEOF_LONG 4 309 310 /* The size of a `long long', as computed by sizeof. */ 311 #define _EVENT_SIZEOF_LONG_LONG 8 312 313 /* The size of a `short', as computed by sizeof. */ 314 #define _EVENT_SIZEOF_SHORT 2 315 316 /* The size of `size_t', as computed by sizeof. */ 317 #ifdef _WIN64 318 #define _EVENT_SIZEOF_SIZE_T 8 319 #else 320 #define _EVENT_SIZEOF_SIZE_T 4 321 #endif 322 323 /* The size of `void *', as computed by sizeof. */ 324 #ifdef _WIN64 325 #define _EVENT_SIZEOF_VOID_P 8 326 #else 327 #define _EVENT_SIZEOF_VOID_P 4 328 #endif 329 330 /* Define to 1 if you have the ANSI C header files. */ 331 #define _EVENT_STDC_HEADERS 1 332 333 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 334 #define _EVENT_TIME_WITH_SYS_TIME 1 335 336 /* Version number of package */ 337 #define _EVENT_VERSION "2.0.22-stable" 338 339 /* Define to appropriate substitue if compiler doesnt have __func__ */ 340 #define _EVENT___func__ __FUNCTION__ 341 342 /* Define to empty if `const' does not conform to ANSI C. */ 343 /* #undef _EVENT_const */ 344 345 /* Define to `__inline__' or `__inline' if that's what the C compiler 346 calls it, or to nothing if 'inline' is not supported under any name. */ 347 #ifndef _EVENT___cplusplus 348 #define _EVENT_inline __inline 349 #endif 350 351 /* Define to `int' if <sys/types.h> does not define. */ 352 /* #undef _EVENT_pid_t */ 353 354 /* Define to `unsigned' if <sys/types.h> does not define. */ 355 /* #undef _EVENT_size_t */ 356 357 /* Define to unsigned int if you dont have it */ 358 #define _EVENT_socklen_t unsigned int 359 360 /* Define to `int' if <sys/types.h> does not define. */ 361 #define _EVENT_ssize_t SSIZE_T 362 363 #endif 364