Add per-user preferences support.
[chromium-blink-merge.git] / third_party / libevent / nacl_nonsfi / config.h
blob60c9dfe774cfb87b503338f1a4becafa4c69c6ca
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 /* Define if clock_gettime is available in libc */
8 #define DNS_USE_CPU_CLOCK_FOR_ID 1
10 /* Define is no secure id variant is available */
11 /* #undef DNS_USE_GETTIMEOFDAY_FOR_ID */
13 /* Define to 1 if you have the `clock_gettime' function. */
14 #define HAVE_CLOCK_GETTIME 1
16 /* Define if /dev/poll is available */
17 /* #undef HAVE_DEVPOLL */
19 /* Define to 1 if you have the <dlfcn.h> header file. */
20 /* #undef HAVE_DLFCN_H */
22 /* Define if your system supports the epoll system calls */
23 /* #undef HAVE_EPOLL */
25 /* Define to 1 if you have the `epoll_ctl' function. */
26 /* #undef HAVE_EPOLL_CTL */
28 /* Define if your system supports event ports */
29 /* #undef HAVE_EVENT_PORTS */
31 /* Define to 1 if you have the `fcntl' function. */
32 #define HAVE_FCNTL 1
34 /* Define to 1 if you have the <fcntl.h> header file. */
35 #define HAVE_FCNTL_H 1
37 /* Define to 1 if the system has the type `fd_mask'. */
38 #define HAVE_FD_MASK 1
40 /* Define to 1 if you have the `getaddrinfo' function. */
41 #define HAVE_GETADDRINFO 1
43 /* Define to 1 if you have the `getegid' function. */
44 #define HAVE_GETEGID 1
46 /* Define to 1 if you have the `geteuid' function. */
47 #define HAVE_GETEUID 1
49 /* Define to 1 if you have the `getnameinfo' function. */
50 #define HAVE_GETNAMEINFO 1
52 /* Define to 1 if you have the `gettimeofday' function. */
53 #define HAVE_GETTIMEOFDAY 1
55 /* Define to 1 if you have the `inet_ntop' function. */
56 #define HAVE_INET_NTOP 1
58 /* Define to 1 if you have the <inttypes.h> header file. */
59 #define HAVE_INTTYPES_H 1
61 /* Define to 1 if you have the `issetugid' function. */
62 /* #undef HAVE_ISSETUGID */
64 /* Define to 1 if you have the `kqueue' function. */
65 /* #undef HAVE_KQUEUE */
67 /* Define to 1 if you have the `nsl' library (-lnsl). */
68 #define HAVE_LIBNSL 1
70 /* Define to 1 if you have the `resolv' library (-lresolv). */
71 #define HAVE_LIBRESOLV 1
73 /* Define to 1 if you have the `rt' library (-lrt). */
74 #define HAVE_LIBRT 1
76 /* Define to 1 if you have the `socket' library (-lsocket). */
77 /* #undef HAVE_LIBSOCKET */
79 /* Define to 1 if you have the <memory.h> header file. */
80 #define HAVE_MEMORY_H 1
82 /* Define to 1 if you have the <netinet/in6.h> header file. */
83 /* #undef HAVE_NETINET_IN6_H */
85 /* Define to 1 if you have the `poll' function. */
86 #define HAVE_POLL 1
88 /* Define to 1 if you have the <poll.h> header file. */
89 #define HAVE_POLL_H 1
91 /* Define to 1 if you have the `port_create' function. */
92 /* #undef HAVE_PORT_CREATE */
94 /* Define to 1 if you have the <port.h> header file. */
95 /* #undef HAVE_PORT_H */
97 /* Define to 1 if you have the `select' function. */
98 /* #undef HAVE_SELECT */
100 /* Define if F_SETFD is defined in <fcntl.h> */
101 #define HAVE_SETFD 1
103 /* Note: The PNaCl toolchain prodives linux ABI's sigaction, named
104 * linux_sigaction() in native_client/src/nonsfi/linux/linux_sys_private.c,
105 * but newlib ABI sigaction() is not provided.
107 /* Define to 1 if you have the `sigaction' function. */
108 /* #undef HAVE_SIGACTION */
110 /* Define to 1 if you have the `signal' function. */
111 /* #undef HAVE_SIGNAL */
113 /* Define to 1 if you have the <signal.h> header file. */
114 #define HAVE_SIGNAL_H 1
116 /* Define to 1 if you have the <stdarg.h> header file. */
117 #define HAVE_STDARG_H 1
119 /* Define to 1 if you have the <stdint.h> header file. */
120 #define HAVE_STDINT_H 1
122 /* Define to 1 if you have the <stdlib.h> header file. */
123 #define HAVE_STDLIB_H 1
125 /* Define to 1 if you have the <strings.h> header file. */
126 #define HAVE_STRINGS_H 1
128 /* Define to 1 if you have the <string.h> header file. */
129 #define HAVE_STRING_H 1
131 /* Define to 1 if you have the `strlcpy' function. */
132 /* #undef HAVE_STRLCPY */
134 /* Define to 1 if you have the `strsep' function. */
135 #define HAVE_STRSEP 1
137 /* Define to 1 if you have the `strtok_r' function. */
138 #define HAVE_STRTOK_R 1
140 /* Define to 1 if you have the `strtoll' function. */
141 #define HAVE_STRTOLL 1
143 /* Define to 1 if the system has the type `struct in6_addr'. */
144 #define HAVE_STRUCT_IN6_ADDR 1
146 /* Define to 1 if you have the <sys/devpoll.h> header file. */
147 /* #undef HAVE_SYS_DEVPOLL_H */
149 /* Define to 1 if you have the <sys/epoll.h> header file. */
150 #define HAVE_SYS_EPOLL_H 1
152 /* Define to 1 if you have the <sys/event.h> header file. */
153 /* #undef HAVE_SYS_EVENT_H */
155 /* Define to 1 if you have the <sys/ioctl.h> header file. */
156 /* #undef HAVE_SYS_IOCTL_H */
158 /* Define to 1 if you have the <sys/param.h> header file. */
159 #define HAVE_SYS_PARAM_H 1
161 /* Define to 1 if you have the <sys/queue.h> header file. */
162 #define HAVE_SYS_QUEUE_H 1
164 /* Define to 1 if you have the <sys/select.h> header file. */
165 /* #undef HAVE_SYS_SELECT_H */
167 /* Define to 1 if you have the <sys/socket.h> header file. */
168 #define HAVE_SYS_SOCKET_H 1
170 /* Define to 1 if you have the <sys/stat.h> header file. */
171 #define HAVE_SYS_STAT_H 1
173 /* Define to 1 if you have the <sys/time.h> header file. */
174 #define HAVE_SYS_TIME_H 1
176 /* Define to 1 if you have the <sys/types.h> header file. */
177 #define HAVE_SYS_TYPES_H 1
179 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
180 #define HAVE_TAILQFOREACH 1
182 /* Define if timeradd is defined in <sys/time.h> */
183 /* #undef HAVE_TIMERADD */
185 /* Define if timerclear is defined in <sys/time.h> */
186 /* #undef HAVE_TIMERCLEAR */
188 /* Define if timercmp is defined in <sys/time.h> */
189 /* #undef HAVE_TIMERCMP */
191 /* Define if timerisset is defined in <sys/time.h> */
192 /* #undef HAVE_TIMERISSET */
194 /* Define to 1 if the system has the type `uint16_t'. */
195 #define HAVE_UINT16_T 1
197 /* Define to 1 if the system has the type `uint32_t'. */
198 #define HAVE_UINT32_T 1
200 /* Define to 1 if the system has the type `uint64_t'. */
201 #define HAVE_UINT64_T 1
203 /* Define to 1 if the system has the type `uint8_t'. */
204 #define HAVE_UINT8_T 1
206 /* Define to 1 if you have the <unistd.h> header file. */
207 #define HAVE_UNISTD_H 1
209 /* Define to 1 if you have the `vasprintf' function. */
210 /* #undef HAVE_VASPRINTF */
212 /* Define if kqueue works correctly with pipes */
213 /* #undef HAVE_WORKING_KQUEUE */
215 /* Name of package */
216 #define PACKAGE "libevent_nacl"
218 /* Define to the address where bug reports for this package should be sent. */
219 #define PACKAGE_BUGREPORT ""
221 /* Define to the full name of this package. */
222 #define PACKAGE_NAME ""
224 /* Define to the full name and version of this package. */
225 #define PACKAGE_STRING ""
227 /* Define to the one symbol short name of this package. */
228 #define PACKAGE_TARNAME ""
230 /* Define to the version of this package. */
231 #define PACKAGE_VERSION ""
233 /* The size of `int', as computed by sizeof. */
234 #define SIZEOF_INT 4
236 /* The size of `long', as computed by sizeof. */
237 #define SIZEOF_LONG 8
239 /* The size of `long long', as computed by sizeof. */
240 #define SIZEOF_LONG_LONG 8
242 /* The size of `short', as computed by sizeof. */
243 #define SIZEOF_SHORT 2
245 /* Define to 1 if you have the ANSI C header files. */
246 #define STDC_HEADERS 1
248 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
249 #define TIME_WITH_SYS_TIME 1
251 /* Version number of package */
252 #define VERSION "1.4.13-stable"
254 /* Define to appropriate substitue if compiler doesnt have __func__ */
255 /* #undef __func__ */
257 /* Define to empty if `const' does not conform to ANSI C. */
258 /* #undef const */
260 /* Define to `__inline__' or `__inline' if that's what the C compiler
261 calls it, or to nothing if 'inline' is not supported under any name. */
262 #ifndef __cplusplus
263 /* #undef inline */
264 #endif
266 /* Define to `int' if <sys/types.h> does not define. */
267 /* #undef pid_t */
269 /* Define to `unsigned int' if <sys/types.h> does not define. */
270 /* #undef size_t */
272 /* Define to unsigned int if you dont have it */
273 /* #undef socklen_t */