1275970Scy/* event2/event-config.h 2275970Scy * 3275970Scy * This file was generated by autoconf when libevent was built, and post- 4275970Scy * processed by Libevent so that its macros would have a uniform prefix. 5275970Scy * 6275970Scy * DO NOT EDIT THIS FILE. 7275970Scy * 8275970Scy * Do not rely on macros in this file existing in later versions. 9275970Scy */ 10275970Scy#ifndef EVENT_CONFIG_H__ 11275970Scy#define EVENT_CONFIG_H__ 12275970Scy/* config.h. Generated by configure. */ 13275970Scy/* config.h.in. Generated from configure.in by autoheader. */ 14275970Scy 15275970Scy/* Define if libevent should not allow replacing the mm functions */ 16275970Scy/* #undef EVENT__DISABLE_MM_REPLACEMENT */ 17275970Scy 18275970Scy/* Define if libevent should not be compiled with thread support */ 19275970Scy/* #undef EVENT__DISABLE_THREAD_SUPPORT */ 20275970Scy 21275970Scy/* Define if clock_gettime is available in libc */ 22275970Scy/* #undef _EVENT_DNS_USE_CPU_CLOCK_FOR_ID */ 23275970Scy 24275970Scy/* Define is no secure id variant is available */ 25275970Scy/* #define _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID 1 */ 26275970Scy#define EVENT_DNS_USE_FTIME_FOR_ID_ 1 27275970Scy 28275970Scy/* Define to 1 if you have the <arpa/inet.h> header file. */ 29275970Scy/* #undef EVENT__HAVE_ARPA_INET_H */ 30275970Scy 31275970Scy/* Define to 1 if you have the `clock_gettime' function. */ 32275970Scy/* #undef EVENT__HAVE_CLOCK_GETTIME */ 33275970Scy 34275970Scy/* Define if /dev/poll is available */ 35275970Scy/* #undef EVENT__HAVE_DEVPOLL */ 36275970Scy 37275970Scy/* Define to 1 if you have the <dlfcn.h> header file. */ 38275970Scy/* #undef EVENT__HAVE_DLFCN_H */ 39275970Scy 40275970Scy/* Define if your system supports the epoll system calls */ 41275970Scy/* #undef EVENT__HAVE_EPOLL */ 42275970Scy 43275970Scy/* Define to 1 if you have the `epoll_ctl' function. */ 44275970Scy/* #undef EVENT__HAVE_EPOLL_CTL */ 45275970Scy 46275970Scy/* Define to 1 if you have the `eventfd' function. */ 47275970Scy/* #undef EVENT__HAVE_EVENTFD */ 48275970Scy 49275970Scy/* Define if your system supports event ports */ 50275970Scy/* #undef EVENT__HAVE_EVENT_PORTS */ 51275970Scy 52275970Scy/* Define to 1 if you have the `fcntl' function. */ 53275970Scy/* #undef EVENT__HAVE_FCNTL */ 54275970Scy 55275970Scy/* Define to 1 if you have the <fcntl.h> header file. */ 56275970Scy#define EVENT__HAVE_FCNTL_H 1 57275970Scy 58275970Scy/* Define to 1 if you have the `getaddrinfo' function. */ 59275970Scy#define EVENT__HAVE_GETADDRINFO 1 60275970Scy 61275970Scy/* Define to 1 if you have the `getnameinfo' function. */ 62275970Scy#define EVENT__HAVE_GETNAMEINFO 1 63275970Scy 64275970Scy/* Define to 1 if you have the `getprotobynumber' function. */ 65275970Scy#define EVENT__HAVE_GETPROTOBYNUMBER 1 66275970Scy 67275970Scy/* Define to 1 if you have the `getservbyname' function. */ 68275970Scy#define EVENT__HAVE_GETSERVBYNAME 1 69275970Scy 70275970Scy/* Define to 1 if you have the `gettimeofday' function. */ 71275970Scy/* #define EVENT__HAVE_GETTIMEOFDAY 1 */ 72275970Scy 73275970Scy/* Define to 1 if you have the `inet_ntop' function. */ 74275970Scy/* #undef EVENT__HAVE_INET_NTOP */ 75275970Scy 76275970Scy/* Define to 1 if you have the `inet_pton' function. */ 77275970Scy/* #undef EVENT__HAVE_INET_PTON */ 78275970Scy 79275970Scy/* Define to 1 if you have the <inttypes.h> header file. */ 80275970Scy/* #define EVENT__HAVE_INTTYPES_H 1 */ 81275970Scy 82275970Scy/* Define to 1 if you have the `kqueue' function. */ 83275970Scy/* #undef EVENT__HAVE_KQUEUE */ 84275970Scy 85275970Scy/* Define if the system has zlib */ 86275970Scy/* #undef EVENT__HAVE_LIBZ */ 87275970Scy 88275970Scy/* Define to 1 if you have the <memory.h> header file. */ 89275970Scy#define EVENT__HAVE_MEMORY_H 1 90275970Scy 91275970Scy/* Define to 1 if you have the `mmap' function. */ 92275970Scy/* #undef EVENT__HAVE_MMAP */ 93275970Scy 94275970Scy/* Define to 1 if you have the <netinet/in6.h> header file. */ 95275970Scy/* #undef EVENT__HAVE_NETINET_IN6_H */ 96275970Scy 97275970Scy/* Define to 1 if you have the <netinet/in.h> header file. */ 98275970Scy/* #undef EVENT__HAVE_NETINET_IN_H */ 99275970Scy 100275970Scy/* Define to 1 if you have the `pipe' function. */ 101275970Scy/* #undef EVENT__HAVE_PIPE */ 102275970Scy 103275970Scy/* Define to 1 if you have the `poll' function. */ 104275970Scy/* #undef EVENT__HAVE_POLL */ 105275970Scy 106275970Scy/* Define to 1 if you have the <poll.h> header file. */ 107275970Scy/* #undef EVENT__HAVE_POLL_H */ 108275970Scy 109275970Scy/* Define to 1 if you have the `port_create' function. */ 110275970Scy/* #undef EVENT__HAVE_PORT_CREATE */ 111275970Scy 112275970Scy/* Define to 1 if you have the <port.h> header file. */ 113275970Scy/* #undef EVENT__HAVE_PORT_H */ 114275970Scy 115275970Scy/* Define if you have POSIX threads libraries and header files. */ 116275970Scy/* #undef EVENT__HAVE_PTHREAD */ 117275970Scy 118275970Scy/* Define if we have pthreads on this system */ 119275970Scy/* #undef EVENT__HAVE_PTHREADS */ 120275970Scy 121275970Scy/* Define to 1 if the system has the type `sa_family_t'. */ 122275970Scy/* #undef EVENT__HAVE_SA_FAMILY_T */ 123275970Scy 124275970Scy/* Define to 1 if you have the `select' function. */ 125275970Scy/* #undef EVENT__HAVE_SELECT */ 126275970Scy 127275970Scy/* Define to 1 if you have the `sendfile' function. */ 128275970Scy/* #undef EVENT__HAVE_SENDFILE */ 129275970Scy 130275970Scy/* Define if F_SETFD is defined in <fcntl.h> */ 131275970Scy/* #undef EVENT__HAVE_SETFD */ 132275970Scy 133275970Scy/* Define to 1 if you have the `sigaction' function. */ 134275970Scy/* #undef EVENT__HAVE_SIGACTION */ 135275970Scy 136275970Scy/* Define to 1 if you have the `signal' function. */ 137275970Scy#define EVENT__HAVE_SIGNAL 1 138275970Scy 139275970Scy/* Define to 1 if you have the `splice' function. */ 140275970Scy/* #undef EVENT__HAVE_SPLICE */ 141275970Scy 142275970Scy/* Define to 1 if you have the <stdarg.h> header file. */ 143275970Scy#define EVENT__HAVE_STDARG_H 1 144275970Scy 145275970Scy/* Define to 1 if you have the <stddef.h> header file. */ 146275970Scy#define EVENT__HAVE_STDDEF_H 1 147275970Scy 148275970Scy/* Define to 1 if you have the <stdint.h> header file. */ 149275970Scy/* #define EVENT__HAVE_STDINT_H 1 */ 150275970Scy 151275970Scy/* Define to 1 if you have the <stdlib.h> header file. */ 152275970Scy#define EVENT__HAVE_STDLIB_H 1 153275970Scy 154275970Scy/* Define to 1 if you have the <strings.h> header file. */ 155275970Scy#define EVENT__HAVE_STRINGS_H 1 156275970Scy 157275970Scy/* Define to 1 if you have the <string.h> header file. */ 158275970Scy#define EVENT__HAVE_STRING_H 1 159275970Scy 160275970Scy/* Define to 1 if you have the `strlcpy' function. */ 161275970Scy/* #undef EVENT__HAVE_STRLCPY */ 162275970Scy 163275970Scy/* Define to 1 if you have the `strsep' function. */ 164275970Scy/* #undef EVENT__HAVE_STRSEP */ 165275970Scy 166275970Scy/* Define to 1 if you have the `strtok_r' function. */ 167275970Scy/* #undef EVENT__HAVE_STRTOK_R */ 168275970Scy 169275970Scy/* Define to 1 if you have the `strtoll' function. */ 170275970Scy/* #define EVENT__HAVE_STRTOLL 1 */ 171275970Scy 172275970Scy#define EVENT__HAVE_STRUCT_ADDRINFO 1 173275970Scy 174275970Scy/* Define to 1 if the system has the type `struct in6_addr'. */ 175275970Scy#define EVENT__HAVE_STRUCT_IN6_ADDR 1 176275970Scy 177275970Scy/* Define to 1 if `s6_addr16' is member of `struct in6_addr'. */ 178275970Scy#define EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1 179275970Scy 180275970Scy/* Define to 1 if `s6_addr32' is member of `struct in6_addr'. */ 181275970Scy#define EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1 182275970Scy 183275970Scy/* Define to 1 if the system has the type `struct sockaddr_in6'. */ 184275970Scy#define EVENT__HAVE_STRUCT_SOCKADDR_IN6 1 185275970Scy 186275970Scy/* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */ 187275970Scy/* #undef EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN */ 188275970Scy 189275970Scy/* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */ 190275970Scy/* #undef EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN */ 191275970Scy 192275970Scy/* Define to 1 if the system has the type `struct sockaddr_storage'. */ 193275970Scy#define EVENT__HAVE_STRUCT_SOCKADDR_STORAGE 1 194275970Scy 195275970Scy/* Define to 1 if you have the <sys/devpoll.h> header file. */ 196275970Scy/* #undef EVENT__HAVE_SYS_DEVPOLL_H */ 197275970Scy 198275970Scy/* Define to 1 if you have the <sys/epoll.h> header file. */ 199275970Scy/* #undef EVENT__HAVE_SYS_EPOLL_H */ 200275970Scy 201275970Scy/* Define to 1 if you have the <sys/eventfd.h> header file. */ 202275970Scy/* #undef EVENT__HAVE_SYS_EVENTFD_H */ 203275970Scy 204275970Scy/* Define to 1 if you have the <sys/event.h> header file. */ 205275970Scy/* #undef EVENT__HAVE_SYS_EVENT_H */ 206275970Scy 207275970Scy/* Define to 1 if you have the <sys/ioctl.h> header file. */ 208275970Scy/* #undef EVENT__HAVE_SYS_IOCTL_H */ 209275970Scy 210275970Scy/* Define to 1 if you have the <sys/mman.h> header file. */ 211275970Scy/* #undef EVENT__HAVE_SYS_MMAN_H */ 212275970Scy 213275970Scy/* Define to 1 if you have the <sys/param.h> header file. */ 214275970Scy/* #define EVENT__HAVE_SYS_PARAM_H 1 */ 215275970Scy 216275970Scy/* Define to 1 if you have the <sys/queue.h> header file. */ 217275970Scy/* #undef EVENT__HAVE_SYS_QUEUE_H */ 218275970Scy 219275970Scy/* Define to 1 if you have the <sys/select.h> header file. */ 220275970Scy/* #undef EVENT__HAVE_SYS_SELECT_H */ 221275970Scy 222275970Scy/* Define to 1 if you have the <sys/sendfile.h> header file. */ 223275970Scy/* #undef EVENT__HAVE_SYS_SENDFILE_H */ 224275970Scy 225275970Scy/* Define to 1 if you have the <sys/socket.h> header file. */ 226275970Scy/* #undef EVENT__HAVE_SYS_SOCKET_H */ 227275970Scy 228275970Scy/* Define to 1 if you have the <sys/stat.h> header file. */ 229275970Scy#define EVENT__HAVE_SYS_STAT_H 1 230275970Scy 231275970Scy/* Define to 1 if you have the <sys/time.h> header file. */ 232275970Scy/* #define EVENT__HAVE_SYS_TIME_H 1 */ 233275970Scy 234275970Scy/* Define to 1 if you have the <sys/types.h> header file. */ 235275970Scy#define EVENT__HAVE_SYS_TYPES_H 1 236275970Scy 237275970Scy/* Define to 1 if you have the <sys/uio.h> header file. */ 238275970Scy/* #undef EVENT__HAVE_SYS_UIO_H */ 239275970Scy 240275970Scy/* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 241275970Scy/* #undef EVENT__HAVE_TAILQFOREACH */ 242275970Scy 243275970Scy/* Define if timeradd is defined in <sys/time.h> */ 244275970Scy/* #undef EVENT__HAVE_TIMERADD */ 245275970Scy 246275970Scy/* Define if timerclear is defined in <sys/time.h> */ 247275970Scy#define EVENT__HAVE_TIMERCLEAR 1 248275970Scy 249275970Scy/* Define if timercmp is defined in <sys/time.h> */ 250275970Scy#define EVENT__HAVE_TIMERCMP 1 251275970Scy 252275970Scy/* Define if timerisset is defined in <sys/time.h> */ 253275970Scy#define EVENT__HAVE_TIMERISSET 1 254275970Scy 255275970Scy/* Define to 1 if the system has the type `uint16_t'. */ 256275970Scy/* #define EVENT__HAVE_UINT16_T 1 */ 257275970Scy 258275970Scy/* Define to 1 if the system has the type `uint32_t'. */ 259275970Scy/* #define EVENT__HAVE_UINT32_T 1 */ 260275970Scy 261275970Scy/* Define to 1 if the system has the type `uint64_t'. */ 262275970Scy/* #define EVENT__HAVE_UINT64_T 1 */ 263275970Scy 264275970Scy/* Define to 1 if the system has the type `uint8_t'. */ 265275970Scy/* #define EVENT__HAVE_UINT8_T 1 */ 266275970Scy 267275970Scy/* Define to 1 if you have the <unistd.h> header file. */ 268275970Scy/* #define EVENT__HAVE_UNISTD_H 1 */ 269275970Scy 270275970Scy/* Define to 1 if you have the `vasprintf' function. */ 271275970Scy/* #undef EVENT__HAVE_VASPRINTF */ 272275970Scy 273275970Scy/* Define if kqueue works correctly with pipes */ 274275970Scy/* #undef EVENT__HAVE_WORKING_KQUEUE */ 275275970Scy 276275970Scy/* Numeric representation of the version */ 277282408Scy#define EVENT__NUMERIC_VERSION 0x02010500 278275970Scy 279275970Scy/* Name of package */ 280275970Scy#define EVENT__PACKAGE "libevent" 281275970Scy 282275970Scy/* Define to the address where bug reports for this package should be sent. */ 283275970Scy#define EVENT__PACKAGE_BUGREPORT "" 284275970Scy 285275970Scy/* Define to the full name of this package. */ 286275970Scy#define EVENT__PACKAGE_NAME "" 287275970Scy 288275970Scy/* Define to the full name and version of this package. */ 289275970Scy#define EVENT__PACKAGE_STRING "" 290275970Scy 291275970Scy/* Define to the one symbol short name of this package. */ 292275970Scy#define EVENT__PACKAGE_TARNAME "" 293275970Scy 294275970Scy/* Define to the version of this package. */ 295275970Scy#define EVENT__PACKAGE_VERSION "" 296275970Scy 297275970Scy/* Define to necessary symbol if this constant uses a non-standard name on 298275970Scy your system. */ 299275970Scy/* #undef EVENT__PTHREAD_CREATE_JOINABLE */ 300275970Scy 301275970Scy/* The size of a `int', as computed by sizeof. */ 302275970Scy#define EVENT__SIZEOF_INT 4 303275970Scy 304275970Scy/* The size of a `long', as computed by sizeof. */ 305275970Scy#define EVENT__SIZEOF_LONG 4 306275970Scy 307275970Scy/* The size of a `long long', as computed by sizeof. */ 308275970Scy#define EVENT__SIZEOF_LONG_LONG 8 309275970Scy 310275970Scy/* The size of a `short', as computed by sizeof. */ 311275970Scy#define EVENT__SIZEOF_SHORT 2 312275970Scy 313275970Scy/* The size of `size_t', as computed by sizeof. */ 314275970Scy#ifdef _WIN64 315275970Scy#define EVENT__SIZEOF_SIZE_T 8 316275970Scy#else 317275970Scy#define EVENT__SIZEOF_SIZE_T 4 318275970Scy#endif 319275970Scy 320275970Scy/* The size of `void *', as computed by sizeof. */ 321275970Scy#ifdef _WIN64 322275970Scy#define EVENT__SIZEOF_VOID_P 8 323275970Scy#else 324275970Scy#define EVENT__SIZEOF_VOID_P 4 325275970Scy#endif 326275970Scy 327275970Scy/* Define to 1 if you have the ANSI C header files. */ 328275970Scy#define EVENT__STDC_HEADERS 1 329275970Scy 330275970Scy/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 331275970Scy#define EVENT__TIME_WITH_SYS_TIME 1 332275970Scy 333275970Scy/* Version number of package */ 334282408Scy#define EVENT__VERSION "2.1.5-beta" 335275970Scy 336275970Scy/* Define to appropriate substitue if compiler doesnt have __func__ */ 337275970Scy#define EVENT____func__ __FUNCTION__ 338275970Scy 339275970Scy/* Define to empty if `const' does not conform to ANSI C. */ 340275970Scy/* #undef EVENT__const */ 341275970Scy 342275970Scy/* Define to `__inline__' or `__inline' if that's what the C compiler 343275970Scy calls it, or to nothing if 'inline' is not supported under any name. */ 344275970Scy#ifndef _EVENT___cplusplus 345275970Scy#define EVENT__inline __inline 346275970Scy#endif 347275970Scy 348275970Scy/* Define to `int' if <sys/types.h> does not define. */ 349275970Scy/* #undef EVENT__pid_t */ 350275970Scy 351275970Scy/* Define to `unsigned' if <sys/types.h> does not define. */ 352275970Scy/* #undef EVENT__size_t */ 353275970Scy 354275970Scy/* Define to unsigned int if you dont have it */ 355275970Scy#define EVENT__socklen_t unsigned int 356275970Scy 357275970Scy/* Define to `int' if <sys/types.h> does not define. */ 358275970Scy#define EVENT__ssize_t SSIZE_T 359275970Scy 360275970Scy#endif 361