Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / third_party / libevent / android / event-config.h
blob7745519882dfd693d97458820088bc579f67a168
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. */
8 /* Define if clock_gettime is available in libc */
9 #define _EVENT_DNS_USE_CPU_CLOCK_FOR_ID 1
11 /* Define is no secure id variant is available */
12 /* #undef _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID */
14 /* Define to 1 if you have the `clock_gettime' function. */
15 #define _EVENT_HAVE_CLOCK_GETTIME 1
17 /* Define if /dev/poll is available */
18 /* #undef _EVENT_HAVE_DEVPOLL */
20 /* Define to 1 if you have the <dlfcn.h> header file. */
21 #define _EVENT_HAVE_DLFCN_H 1
23 /* Define if your system supports the epoll system calls */
24 #define _EVENT_HAVE_EPOLL 1
26 /* Define to 1 if you have the `epoll_ctl' function. */
27 #define _EVENT_HAVE_EPOLL_CTL 1
29 /* Define if your system supports event ports */
30 /* #undef _EVENT_HAVE_EVENT_PORTS */
32 /* Define to 1 if you have the `fcntl' function. */
33 #define _EVENT_HAVE_FCNTL 1
35 /* Define to 1 if you have the <fcntl.h> header file. */
36 #define _EVENT_HAVE_FCNTL_H 1
38 /* Define to 1 if the system has the type `fd_mask'. */
39 /* #undef _EVENT_HAVE_FD_MASK 1 */
41 /* Define to 1 if you have the `getaddrinfo' function. */
42 #define _EVENT_HAVE_GETADDRINFO 1
44 /* Define to 1 if you have the `getegid' function. */
45 #define _EVENT_HAVE_GETEGID 1
47 /* Define to 1 if you have the `geteuid' function. */
48 #define _EVENT_HAVE_GETEUID 1
50 /* Define to 1 if you have the `getnameinfo' function. */
51 #define _EVENT_HAVE_GETNAMEINFO 1
53 /* Define to 1 if you have the `gettimeofday' function. */
54 #define _EVENT_HAVE_GETTIMEOFDAY 1
56 /* Define to 1 if you have the `inet_ntop' function. */
57 #define _EVENT_HAVE_INET_NTOP 1
59 /* Define to 1 if you have the <inttypes.h> header file. */
60 #define _EVENT_HAVE_INTTYPES_H 1
62 /* Define to 1 if you have the `issetugid' function. */
63 /* #undef _EVENT_HAVE_ISSETUGID */
65 /* Define to 1 if you have the `kqueue' function. */
66 /* #undef _EVENT_HAVE_KQUEUE */
68 /* Define to 1 if you have the `nsl' library (-lnsl). */
69 #define _EVENT_HAVE_LIBNSL 1
71 /* Define to 1 if you have the `resolv' library (-lresolv). */
72 #define _EVENT_HAVE_LIBRESOLV 1
74 /* Define to 1 if you have the `rt' library (-lrt). */
75 #define _EVENT_HAVE_LIBRT 1
77 /* Define to 1 if you have the `socket' library (-lsocket). */
78 /* #undef _EVENT_HAVE_LIBSOCKET */
80 /* Define to 1 if you have the <memory.h> header file. */
81 #define _EVENT_HAVE_MEMORY_H 1
83 /* Define to 1 if you have the <netinet/in6.h> header file. */
84 /* #undef _EVENT_HAVE_NETINET_IN6_H */
86 /* Define to 1 if you have the `poll' function. */
87 #define _EVENT_HAVE_POLL 1
89 /* Define to 1 if you have the <poll.h> header file. */
90 #define _EVENT_HAVE_POLL_H 1
92 /* Define to 1 if you have the `port_create' function. */
93 /* #undef _EVENT_HAVE_PORT_CREATE */
95 /* Define to 1 if you have the <port.h> header file. */
96 /* #undef _EVENT_HAVE_PORT_H */
98 /* Define to 1 if you have the `select' function. */
99 #define _EVENT_HAVE_SELECT 1
101 /* Define if F_SETFD is defined in <fcntl.h> */
102 #define _EVENT_HAVE_SETFD 1
104 /* Define to 1 if you have the `sigaction' function. */
105 #define _EVENT_HAVE_SIGACTION 1
107 /* Define to 1 if you have the `signal' function. */
108 #define _EVENT_HAVE_SIGNAL 1
110 /* Define to 1 if you have the <signal.h> header file. */
111 #define _EVENT_HAVE_SIGNAL_H 1
113 /* Define to 1 if you have the <stdarg.h> header file. */
114 #define _EVENT_HAVE_STDARG_H 1
116 /* Define to 1 if you have the <stdint.h> header file. */
117 #define _EVENT_HAVE_STDINT_H 1
119 /* Define to 1 if you have the <stdlib.h> header file. */
120 #define _EVENT_HAVE_STDLIB_H 1
122 /* Define to 1 if you have the <strings.h> header file. */
123 #define _EVENT_HAVE_STRINGS_H 1
125 /* Define to 1 if you have the <string.h> header file. */
126 #define _EVENT_HAVE_STRING_H 1
128 /* Define to 1 if you have the `strlcpy' function. */
129 #define _EVENT_HAVE_STRLCPY 1
131 /* Define to 1 if you have the `strsep' function. */
132 #define _EVENT_HAVE_STRSEP 1
134 /* Define to 1 if you have the `strtok_r' function. */
135 #define _EVENT_HAVE_STRTOK_R 1
137 /* Define to 1 if you have the `strtoll' function. */
138 #define _EVENT_HAVE_STRTOLL 1
140 /* Define to 1 if the system has the type `struct in6_addr'. */
141 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1
143 /* Define to 1 if you have the <sys/devpoll.h> header file. */
144 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */
146 /* Define to 1 if you have the <sys/epoll.h> header file. */
147 #define _EVENT_HAVE_SYS_EPOLL_H 1
149 /* Define to 1 if you have the <sys/event.h> header file. */
150 /* #undef _EVENT_HAVE_SYS_EVENT_H */
152 /* Define to 1 if you have the <sys/ioctl.h> header file. */
153 #define _EVENT_HAVE_SYS_IOCTL_H 1
155 /* Define to 1 if you have the <sys/param.h> header file. */
156 #define _EVENT_HAVE_SYS_PARAM_H 1
158 /* Define to 1 if you have the <sys/queue.h> header file. */
159 #define _EVENT_HAVE_SYS_QUEUE_H 1
161 /* Define to 1 if you have the <sys/select.h> header file. */
162 #define _EVENT_HAVE_SYS_SELECT_H 1
164 /* Define to 1 if you have the <sys/socket.h> header file. */
165 #define _EVENT_HAVE_SYS_SOCKET_H 1
167 /* Define to 1 if you have the <sys/stat.h> header file. */
168 #define _EVENT_HAVE_SYS_STAT_H 1
170 /* Define to 1 if you have the <sys/time.h> header file. */
171 #define _EVENT_HAVE_SYS_TIME_H 1
173 /* Define to 1 if you have the <sys/types.h> header file. */
174 #define _EVENT_HAVE_SYS_TYPES_H 1
176 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
177 #define _EVENT_HAVE_TAILQFOREACH 1
179 /* Define if timeradd is defined in <sys/time.h> */
180 #define _EVENT_HAVE_TIMERADD 1
182 /* Define if timerclear is defined in <sys/time.h> */
183 #define _EVENT_HAVE_TIMERCLEAR 1
185 /* Define if timercmp is defined in <sys/time.h> */
186 #define _EVENT_HAVE_TIMERCMP 1
188 /* Define if timerisset is defined in <sys/time.h> */
189 #define _EVENT_HAVE_TIMERISSET 1
191 /* Define to 1 if the system has the type `uint16_t'. */
192 #define _EVENT_HAVE_UINT16_T 1
194 /* Define to 1 if the system has the type `uint32_t'. */
195 #define _EVENT_HAVE_UINT32_T 1
197 /* Define to 1 if the system has the type `uint64_t'. */
198 #define _EVENT_HAVE_UINT64_T 1
200 /* Define to 1 if the system has the type `uint8_t'. */
201 #define _EVENT_HAVE_UINT8_T 1
203 /* Define to 1 if you have the <unistd.h> header file. */
204 #define _EVENT_HAVE_UNISTD_H 1
206 /* Define to 1 if you have the `vasprintf' function. */
207 #define _EVENT_HAVE_VASPRINTF 1
209 /* Define if kqueue works correctly with pipes */
210 /* #undef _EVENT_HAVE_WORKING_KQUEUE */
212 /* Name of package */
213 #define _EVENT_PACKAGE "libevent"
215 /* Define to the address where bug reports for this package should be sent. */
216 #define _EVENT_PACKAGE_BUGREPORT ""
218 /* Define to the full name of this package. */
219 #define _EVENT_PACKAGE_NAME ""
221 /* Define to the full name and version of this package. */
222 #define _EVENT_PACKAGE_STRING ""
224 /* Define to the one symbol short name of this package. */
225 #define _EVENT_PACKAGE_TARNAME ""
227 /* Define to the version of this package. */
228 #define _EVENT_PACKAGE_VERSION ""
230 /* The size of `int', as computed by sizeof. */
231 #define _EVENT_SIZEOF_INT 4
233 /* The size of `long', as computed by sizeof. */
234 #define _EVENT_SIZEOF_LONG 8
236 /* The size of `long long', as computed by sizeof. */
237 #define _EVENT_SIZEOF_LONG_LONG 8
239 /* The size of `short', as computed by sizeof. */
240 #define _EVENT_SIZEOF_SHORT 2
242 /* Define to 1 if you have the ANSI C header files. */
243 #define _EVENT_STDC_HEADERS 1
245 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
246 #define _EVENT_TIME_WITH_SYS_TIME 1
248 /* Version number of package */
249 #define _EVENT_VERSION "1.4.13-stable"
251 /* Define to appropriate substitue if compiler doesnt have __func__ */
252 /* #undef _EVENT___func__ */
254 /* Define to empty if `const' does not conform to ANSI C. */
255 /* #undef _EVENT_const */
257 /* Define to `__inline__' or `__inline' if that's what the C compiler
258 calls it, or to nothing if 'inline' is not supported under any name. */
259 #ifndef _EVENT___cplusplus
260 /* #undef _EVENT_inline */
261 #endif
263 /* Define to `int' if <sys/types.h> does not define. */
264 /* #undef _EVENT_pid_t */
266 /* Define to `unsigned int' if <sys/types.h> does not define. */
267 /* #undef _EVENT_size_t */
269 /* Define to unsigned int if you dont have it */
270 /* #undef _EVENT_socklen_t */
271 #endif