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