Delete unused downloads page asset.
[chromium-blink-merge.git] / third_party / libevent / nacl_nonsfi / event-config.h
blob636ee800c21aef3b716f108b1fc73f31c7c95b47
1 /* Copied from Linux version and changed the features according the PNaCl
2 * toolchain for the Non-SFI binary build, which is close to one under the
3 * linux/ directory. The built binary will be running under Linux directly,
4 * actually.
5 */
7 #ifndef _EVENT_CONFIG_H_
8 #define _EVENT_CONFIG_H_
10 /* Define if clock_gettime is available in libc */
11 #define _EVENT_DNS_USE_CPU_CLOCK_FOR_ID 1
13 /* Define is no secure id variant is available */
14 /* #undef _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID */
16 /* Define to 1 if you have the `clock_gettime' function. */
17 #define _EVENT_HAVE_CLOCK_GETTIME 1
19 /* Define if /dev/poll is available */
20 /* #undef _EVENT_HAVE_DEVPOLL */
22 /* Define to 1 if you have the <dlfcn.h> header file. */
23 #define _EVENT_HAVE_DLFCN_H 1
25 /* Define if your system supports the epoll system calls */
26 /* #undef _EVENT_HAVE_EPOLL */
28 /* Define to 1 if you have the `epoll_ctl' function. */
29 /* #undef _EVENT_HAVE_EPOLL_CTL */
31 /* Define if your system supports event ports */
32 /* #undef _EVENT_HAVE_EVENT_PORTS */
34 /* Define to 1 if you have the `fcntl' function. */
35 #define _EVENT_HAVE_FCNTL 1
37 /* Define to 1 if you have the <fcntl.h> header file. */
38 #define _EVENT_HAVE_FCNTL_H 1
40 /* Define to 1 if the system has the type `fd_mask'. */
41 #define _EVENT_HAVE_FD_MASK 1
43 /* Define to 1 if you have the `getaddrinfo' function. */
44 #define _EVENT_HAVE_GETADDRINFO 1
46 /* Define to 1 if you have the `getegid' function. */
47 #define _EVENT_HAVE_GETEGID 1
49 /* Define to 1 if you have the `geteuid' function. */
50 #define _EVENT_HAVE_GETEUID 1
52 /* Define to 1 if you have the `getnameinfo' function. */
53 #define _EVENT_HAVE_GETNAMEINFO 1
55 /* Define to 1 if you have the `gettimeofday' function. */
56 #define _EVENT_HAVE_GETTIMEOFDAY 1
58 /* Define to 1 if you have the `inet_ntop' function. */
59 #define _EVENT_HAVE_INET_NTOP 1
61 /* Define to 1 if you have the <inttypes.h> header file. */
62 #define _EVENT_HAVE_INTTYPES_H 1
64 /* Define to 1 if you have the `issetugid' function. */
65 /* #undef _EVENT_HAVE_ISSETUGID */
67 /* Define to 1 if you have the `kqueue' function. */
68 /* #undef _EVENT_HAVE_KQUEUE */
70 /* Define to 1 if you have the `nsl' library (-lnsl). */
71 #define _EVENT_HAVE_LIBNSL 1
73 /* Define to 1 if you have the `resolv' library (-lresolv). */
74 #define _EVENT_HAVE_LIBRESOLV 1
76 /* Define to 1 if you have the `rt' library (-lrt). */
77 #define _EVENT_HAVE_LIBRT 1
79 /* Define to 1 if you have the `socket' library (-lsocket). */
80 /* #undef _EVENT_HAVE_LIBSOCKET */
82 /* Define to 1 if you have the <memory.h> header file. */
83 #define _EVENT_HAVE_MEMORY_H 1
85 /* Define to 1 if you have the <netinet/in6.h> header file. */
86 /* #undef _EVENT_HAVE_NETINET_IN6_H */
88 /* Define to 1 if you have the `poll' function. */
89 #define _EVENT_HAVE_POLL 1
91 /* Define to 1 if you have the <poll.h> header file. */
92 #define _EVENT_HAVE_POLL_H 1
94 /* Define to 1 if you have the `port_create' function. */
95 /* #undef _EVENT_HAVE_PORT_CREATE */
97 /* Define to 1 if you have the <port.h> header file. */
98 /* #undef _EVENT_HAVE_PORT_H */
100 /* Define to 1 if you have the `select' function. */
101 /* #undef _EVENT_HAVE_SELECT */
103 /* Define if F_SETFD is defined in <fcntl.h> */
104 #define _EVENT_HAVE_SETFD 1
106 /* Define to 1 if you have the `sigaction' function. */
107 /* #undef _EVENT_HAVE_SIGACTION */
109 /* Define to 1 if you have the `signal' function. */
110 #define _EVENT_HAVE_SIGNAL 1
112 /* Define to 1 if you have the <signal.h> header file. */
113 #define _EVENT_HAVE_SIGNAL_H 1
115 /* Define to 1 if you have the <stdarg.h> header file. */
116 #define _EVENT_HAVE_STDARG_H 1
118 /* Define to 1 if you have the <stdint.h> header file. */
119 #define _EVENT_HAVE_STDINT_H 1
121 /* Define to 1 if you have the <stdlib.h> header file. */
122 #define _EVENT_HAVE_STDLIB_H 1
124 /* Define to 1 if you have the <strings.h> header file. */
125 #define _EVENT_HAVE_STRINGS_H 1
127 /* Define to 1 if you have the <string.h> header file. */
128 #define _EVENT_HAVE_STRING_H 1
130 /* Define to 1 if you have the `strlcpy' function. */
131 /* #undef _EVENT_HAVE_STRLCPY */
133 /* Define to 1 if you have the `strsep' function. */
134 #define _EVENT_HAVE_STRSEP 1
136 /* Define to 1 if you have the `strtok_r' function. */
137 #define _EVENT_HAVE_STRTOK_R 1
139 /* Define to 1 if you have the `strtoll' function. */
140 #define _EVENT_HAVE_STRTOLL 1
142 /* Define to 1 if the system has the type `struct in6_addr'. */
143 #define _EVENT_HAVE_STRUCT_IN6_ADDR 1
145 /* Define to 1 if you have the <sys/devpoll.h> header file. */
146 /* #undef _EVENT_HAVE_SYS_DEVPOLL_H */
148 /* Define to 1 if you have the <sys/epoll.h> header file. */
149 /* #undef _EVENT_HAVE_SYS_EPOLL_H */
151 /* Define to 1 if you have the <sys/event.h> header file. */
152 /* #undef _EVENT_HAVE_SYS_EVENT_H */
154 /* Define to 1 if you have the <sys/ioctl.h> header file. */
155 /* #undef _EVENT_HAVE_SYS_IOCTL_H */
157 /* Define to 1 if you have the <sys/param.h> header file. */
158 #define _EVENT_HAVE_SYS_PARAM_H 1
160 /* Define to 1 if you have the <sys/queue.h> header file. */
161 #define _EVENT_HAVE_SYS_QUEUE_H 1
163 /* Define to 1 if you have the <sys/select.h> header file. */
164 #define _EVENT_HAVE_SYS_SELECT_H 1
166 /* Define to 1 if you have the <sys/socket.h> header file. */
167 #define _EVENT_HAVE_SYS_SOCKET_H 1
169 /* Define to 1 if you have the <sys/stat.h> header file. */
170 #define _EVENT_HAVE_SYS_STAT_H 1
172 /* Define to 1 if you have the <sys/time.h> header file. */
173 #define _EVENT_HAVE_SYS_TIME_H 1
175 /* Define to 1 if you have the <sys/types.h> header file. */
176 #define _EVENT_HAVE_SYS_TYPES_H 1
178 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
179 #define _EVENT_HAVE_TAILQFOREACH 1
181 /* Define if timeradd is defined in <sys/time.h> */
182 /* #undef _EVENT_HAVE_TIMERADD */
184 /* Define if timerclear is defined in <sys/time.h> */
185 /* #undef _EVENT_HAVE_TIMERCLEAR */
187 /* Define if timercmp is defined in <sys/time.h> */
188 /* #undef _EVENT_HAVE_TIMERCMP */
190 /* Define if timerisset is defined in <sys/time.h> */
191 /* #undef _EVENT_HAVE_TIMERISSET */
193 /* Define to 1 if the system has the type `uint16_t'. */
194 #define _EVENT_HAVE_UINT16_T 1
196 /* Define to 1 if the system has the type `uint32_t'. */
197 #define _EVENT_HAVE_UINT32_T 1
199 /* Define to 1 if the system has the type `uint64_t'. */
200 #define _EVENT_HAVE_UINT64_T 1
202 /* Define to 1 if the system has the type `uint8_t'. */
203 #define _EVENT_HAVE_UINT8_T 1
205 /* Define to 1 if you have the <unistd.h> header file. */
206 #define _EVENT_HAVE_UNISTD_H 1
208 /* Define to 1 if you have the `vasprintf' function. */
209 #define _EVENT_HAVE_VASPRINTF 1
211 /* Define if kqueue works correctly with pipes */
212 /* #undef _EVENT_HAVE_WORKING_KQUEUE */
214 /* Name of package */
215 #define _EVENT_PACKAGE "libevent_nacl"
217 /* Define to the address where bug reports for this package should be sent. */
218 #define _EVENT_PACKAGE_BUGREPORT ""
220 /* Define to the full name of this package. */
221 #define _EVENT_PACKAGE_NAME ""
223 /* Define to the full name and version of this package. */
224 #define _EVENT_PACKAGE_STRING ""
226 /* Define to the one symbol short name of this package. */
227 #define _EVENT_PACKAGE_TARNAME ""
229 /* Define to the version of this package. */
230 #define _EVENT_PACKAGE_VERSION ""
232 /* The size of `int', as computed by sizeof. */
233 #define _EVENT_SIZEOF_INT 4
235 /* The size of `long', as computed by sizeof. */
236 #define _EVENT_SIZEOF_LONG 8
238 /* The size of `long long', as computed by sizeof. */
239 #define _EVENT_SIZEOF_LONG_LONG 8
241 /* The size of `short', as computed by sizeof. */
242 #define _EVENT_SIZEOF_SHORT 2
244 /* Define to 1 if you have the ANSI C header files. */
245 #define _EVENT_STDC_HEADERS 1
247 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
248 #define _EVENT_TIME_WITH_SYS_TIME 1
250 /* Version number of package */
251 #define _EVENT_VERSION "1.4.13-stable"
253 /* Define to appropriate substitue if compiler doesnt have __func__ */
254 /* #undef _EVENT___func__ */
256 /* Define to empty if `const' does not conform to ANSI C. */
257 /* #undef _EVENT_const */
259 /* Define to `__inline__' or `__inline' if that's what the C compiler
260 calls it, or to nothing if 'inline' is not supported under any name. */
261 #ifndef _EVENT___cplusplus
262 /* #undef _EVENT_inline */
263 #endif
265 /* Define to `int' if <sys/types.h> does not define. */
266 /* #undef _EVENT_pid_t */
268 /* Define to `unsigned int' if <sys/types.h> does not define. */
269 /* #undef _EVENT_size_t */
271 /* Define to unsigned int if you dont have it */
272 /* #undef _EVENT_socklen_t */
274 /* Work around for __native_client_nonsfi__ build. random() is not provided
275 * by the newlib-based PNaCl toolchain, so here we declare it. Please see also
276 * nacl_nonsfi/random.c for more details.
278 long int random();
280 #endif