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