1 /* Copied from Linux version and changed the features according Android, which 2 * is close to Linux */ 3 #ifndef _EVENT_CONFIG_H_ 4 #define _EVENT_CONFIG_H_ 5 /* config.h. Generated from config.h.in by configure. */ 6 /* config.h.in. Generated from configure.in by autoheader. */ 7 8 /* Define if clock_gettime is available in libc */ 9 #define _EVENT_DNS_USE_CPU_CLOCK_FOR_ID 1 10 11 /* Define is no secure id variant is available */ 12 /* #undef _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID */ 13 14 /* Define to 1 if you have the `clock_gettime' function. */ 15 #define _EVENT_HAVE_CLOCK_GETTIME 1 16 17 /* Define if /dev/poll is available */ 18 /* #undef _EVENT_HAVE_DEVPOLL */ 19 20 /* Define to 1 if you have the <dlfcn.h> header file. */ 21 #define _EVENT_HAVE_DLFCN_H 1 22 23 /* Define if your system supports the epoll system calls */ 24 #define _EVENT_HAVE_EPOLL 1 25 26 /* Define to 1 if you have the `epoll_ctl' function. */ 27 #define _EVENT_HAVE_EPOLL_CTL 1 28 29 /* Define if your system supports event ports */ 30 /* #undef _EVENT_HAVE_EVENT_PORTS */ 31 32 /* Define to 1 if you have the `fcntl' function. */ 33 #define _EVENT_HAVE_FCNTL 1 34 35 /* Define to 1 if you have the <fcntl.h> header file. */ 36 #define _EVENT_HAVE_FCNTL_H 1 37 38 /* Define to 1 if the system has the type `fd_mask'. */ 39 /* #undef _EVENT_HAVE_FD_MASK 1 */ 40 41 /* Define to 1 if you have the `getaddrinfo' function. */ 42 #define _EVENT_HAVE_GETADDRINFO 1 43 44 /* Define to 1 if you have the `getegid' function. */ 45 #define _EVENT_HAVE_GETEGID 1 46 47 /* Define to 1 if you have the `geteuid' function. */ 48 #define _EVENT_HAVE_GETEUID 1 49 50 /* Define to 1 if you have the `getnameinfo' function. */ 51 #define _EVENT_HAVE_GETNAMEINFO 1 52 53 /* Define to 1 if you have the `gettimeofday' function. */ 54 #define _EVENT_HAVE_GETTIMEOFDAY 1 55 56 /* Define to 1 if you have the `inet_ntop' function. */ 57 #define _EVENT_HAVE_INET_NTOP 1 58 59 /* Define to 1 if you have the <inttypes.h> header file. */ 60 #define _EVENT_HAVE_INTTYPES_H 1 61 62 /* Define to 1 if you have the `issetugid' function. */ 63 /* #undef _EVENT_HAVE_ISSETUGID */ 64 65 /* Define to 1 if you have the `kqueue' function. */ 66 /* #undef _EVENT_HAVE_KQUEUE */ 67 68 /* Define to 1 if you have the `nsl' library (-lnsl). */ 69 #define _EVENT_HAVE_LIBNSL 1 70 71 /* Define to 1 if you have the `resolv' library (-lresolv). */ 72 #define _EVENT_HAVE_LIBRESOLV 1 73 74 /* Define to 1 if you have the `rt' library (-lrt). */ 75 #define _EVENT_HAVE_LIBRT 1 76 77 /* Define to 1 if you have the `socket' library (-lsocket). */ 78 /* #undef _EVENT_HAVE_LIBSOCKET */ 79 80 /* Define to 1 if you have the <memory.h> header file. */ 81 #define _EVENT_HAVE_MEMORY_H 1 82 83 /* Define to 1 if you have the <netinet/in6.h> header file. */ 84 /* #undef _EVENT_HAVE_NETINET_IN6_H */ 85 86 /* Define to 1 if you have the `poll' function. */ 87 #define _EVENT_HAVE_POLL 1 88 89 /* Define to 1 if you have the <poll.h> header file. */ 90 #define _EVENT_HAVE_POLL_H 1 91 92 /* Define to 1 if you have the `port_create' function. */ 93 /* #undef _EVENT_HAVE_PORT_CREATE */ 94 95 /* Define to 1 if you have the <port.h> header file. */ 96 /* #undef _EVENT_HAVE_PORT_H */ 97 98 /* Define to 1 if you have the `select' function. */ 99 #define _EVENT_HAVE_SELECT 1 100 101 /* Define if F_SETFD is defined in <fcntl.h> */ 102 #define _EVENT_HAVE_SETFD 1 103 104 /* Define to 1 if you have the `sigaction' function. */ 105 #define _EVENT_HAVE_SIGACTION 1 106 107 /* Define to 1 if you have the `signal' function. */ 108 #define _EVENT_HAVE_SIGNAL 1 109 110 /* Define to 1 if you have the <signal.h> header file. */ 111 #define _EVENT_HAVE_SIGNAL_H 1 112 113 /* Define to 1 if you have the <stdarg.h> header file. */ 114 #define _EVENT_HAVE_STDARG_H 1 115 116 /* Define to 1 if you have the <stdint.h> header file. */ 117 #define _EVENT_HAVE_STDINT_H 1 118 119 /* Define to 1 if you have the <stdlib.h> header file. */ 120 #define _EVENT_HAVE_STDLIB_H 1 121 122 /* Define to 1 if you have the <strings.h> header file. */ 123 #define _EVENT_HAVE_STRINGS_H 1 124 125 /* Define to 1 if you have the <string.h> header file. */ 126 #define _EVENT_HAVE_STRING_H 1 127 128 /* Define to 1 if you have the `strlcpy' function. */ 129 #define _EVENT_HAVE_STRLCPY 1 130 131 /* Define to 1 if you have the `strsep' function. */ 132 #define _EVENT_HAVE_STRSEP 1 133 134 /* Define to 1 if you have the `strtok_r' function. */ 135 #define _EVENT_HAVE_STRTOK_R 1 136 137 /* Define to 1 if you have the `strtoll' function. */ 138 #define _EVENT_HAVE_STRTOLL 1 139 140 /* Define to 1 if the system has the type `struct in6_addr'. */ 141 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1 142 143 /* Define to 1 if you have the <sys/devpoll.h> header file. */ 144 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */ 145 146 /* Define to 1 if you have the <sys/epoll.h> header file. */ 147 #define _EVENT_HAVE_SYS_EPOLL_H 1 148 149 /* Define to 1 if you have the <sys/event.h> header file. */ 150 /* #undef _EVENT_HAVE_SYS_EVENT_H */ 151 152 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 153 #define _EVENT_HAVE_SYS_IOCTL_H 1 154 155 /* Define to 1 if you have the <sys/param.h> header file. */ 156 #define _EVENT_HAVE_SYS_PARAM_H 1 157 158 /* Define to 1 if you have the <sys/queue.h> header file. */ 159 #define _EVENT_HAVE_SYS_QUEUE_H 1 160 161 /* Define to 1 if you have the <sys/select.h> header file. */ 162 #define _EVENT_HAVE_SYS_SELECT_H 1 163 164 /* Define to 1 if you have the <sys/socket.h> header file. */ 165 #define _EVENT_HAVE_SYS_SOCKET_H 1 166 167 /* Define to 1 if you have the <sys/stat.h> header file. */ 168 #define _EVENT_HAVE_SYS_STAT_H 1 169 170 /* Define to 1 if you have the <sys/time.h> header file. */ 171 #define _EVENT_HAVE_SYS_TIME_H 1 172 173 /* Define to 1 if you have the <sys/types.h> header file. */ 174 #define _EVENT_HAVE_SYS_TYPES_H 1 175 176 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ 177 #define _EVENT_HAVE_TAILQFOREACH 1 178 179 /* Define if timeradd is defined in <sys/time.h> */ 180 #define _EVENT_HAVE_TIMERADD 1 181 182 /* Define if timerclear is defined in <sys/time.h> */ 183 #define _EVENT_HAVE_TIMERCLEAR 1 184 185 /* Define if timercmp is defined in <sys/time.h> */ 186 #define _EVENT_HAVE_TIMERCMP 1 187 188 /* Define if timerisset is defined in <sys/time.h> */ 189 #define _EVENT_HAVE_TIMERISSET 1 190 191 /* Define to 1 if the system has the type `uint16_t'. */ 192 #define _EVENT_HAVE_UINT16_T 1 193 194 /* Define to 1 if the system has the type `uint32_t'. */ 195 #define _EVENT_HAVE_UINT32_T 1 196 197 /* Define to 1 if the system has the type `uint64_t'. */ 198 #define _EVENT_HAVE_UINT64_T 1 199 200 /* Define to 1 if the system has the type `uint8_t'. */ 201 #define _EVENT_HAVE_UINT8_T 1 202 203 /* Define to 1 if you have the <unistd.h> header file. */ 204 #define _EVENT_HAVE_UNISTD_H 1 205 206 /* Define to 1 if you have the `vasprintf' function. */ 207 #define _EVENT_HAVE_VASPRINTF 1 208 209 /* Define if kqueue works correctly with pipes */ 210 /* #undef _EVENT_HAVE_WORKING_KQUEUE */ 211 212 /* Define to the sub-directory in which libtool stores uninstalled libraries. 213 */ 214 #define _EVENT_LT_OBJDIR ".libs/" 215 216 /* Numeric representation of the version */ 217 #define _EVENT_NUMERIC_VERSION 0x01040f00 218 219 /* Name of package */ 220 #define _EVENT_PACKAGE "libevent" 221 222 /* Define to the address where bug reports for this package should be sent. */ 223 #define _EVENT_PACKAGE_BUGREPORT "" 224 225 /* Define to the full name of this package. */ 226 #define _EVENT_PACKAGE_NAME "" 227 228 /* Define to the full name and version of this package. */ 229 #define _EVENT_PACKAGE_STRING "" 230 231 /* Define to the one symbol short name of this package. */ 232 #define _EVENT_PACKAGE_TARNAME "" 233 234 /* Define to the home page for this package. */ 235 #define _EVENT_PACKAGE_URL "" 236 237 /* Define to the version of this package. */ 238 #define _EVENT_PACKAGE_VERSION "" 239 240 /* The size of `int', as computed by sizeof. */ 241 #define _EVENT_SIZEOF_INT 4 242 243 /* The size of `long', as computed by sizeof. */ 244 #define _EVENT_SIZEOF_LONG 8 245 246 /* The size of `long long', as computed by sizeof. */ 247 #define _EVENT_SIZEOF_LONG_LONG 8 248 249 /* The size of `short', as computed by sizeof. */ 250 #define _EVENT_SIZEOF_SHORT 2 251 252 /* Define to 1 if you have the ANSI C header files. */ 253 #define _EVENT_STDC_HEADERS 1 254 255 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 256 #define _EVENT_TIME_WITH_SYS_TIME 1 257 258 /* Version number of package */ 259 #define _EVENT_VERSION "1.4.15" 260 261 /* Define to appropriate substitue if compiler doesnt have __func__ */ 262 /* #undef _EVENT___func__ */ 263 264 /* Define to empty if `const' does not conform to ANSI C. */ 265 /* #undef _EVENT_const */ 266 267 /* Define to `__inline__' or `__inline' if that's what the C compiler 268 calls it, or to nothing if 'inline' is not supported under any name. */ 269 #ifndef _EVENT___cplusplus 270 /* #undef _EVENT_inline */ 271 #endif 272 273 /* Define to `int' if <sys/types.h> does not define. */ 274 /* #undef _EVENT_pid_t */ 275 276 /* Define to `unsigned int' if <sys/types.h> does not define. */ 277 /* #undef _EVENT_size_t */ 278 279 /* Define to unsigned int if you dont have it */ 280 /* #undef _EVENT_socklen_t */ 281 #endif 282