Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Side by Side Diff: third_party/libevent/nacl_nonsfi/event-config.h

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

Powered by Google App Engine
This is Rietveld 408576698