1 /* event2/event-config.h
2  *
3  * This file was generated by autoconf when libevent was built, and post-
4  * processed by Libevent so that its macros would have a uniform prefix.
5  *
6  * DO NOT EDIT THIS FILE.
7  *
8  * Do not rely on macros in this file existing in later versions.
9  */
10 #ifndef EVENT_CONFIG_H__
11 #define EVENT_CONFIG_H__
12 /* config.h.  Generated by configure.  */
13 /* config.h.in.  Generated from configure.in by autoheader.  */
14 
15 /* Define if libevent should not allow replacing the mm functions */
16 /* #undef EVENT__DISABLE_MM_REPLACEMENT */
17 
18 /* Define if libevent should not be compiled with thread support */
19 /* #undef EVENT__DISABLE_THREAD_SUPPORT */
20 
21 /* Define if clock_gettime is available in libc */
22 /* #undef _EVENT_DNS_USE_CPU_CLOCK_FOR_ID */
23 
24 /* Define is no secure id variant is available */
25 /* #define _EVENT_DNS_USE_GETTIMEOFDAY_FOR_ID 1 */
26 #define EVENT_DNS_USE_FTIME_FOR_ID_ 1
27 
28 /* Define to 1 if you have the <arpa/inet.h> header file. */
29 /* #undef EVENT__HAVE_ARPA_INET_H */
30 
31 /* Define to 1 if you have the `clock_gettime' function. */
32 /* #undef EVENT__HAVE_CLOCK_GETTIME */
33 
34 /* Define if /dev/poll is available */
35 /* #undef EVENT__HAVE_DEVPOLL */
36 
37 /* Define to 1 if you have the <dlfcn.h> header file. */
38 /* #undef EVENT__HAVE_DLFCN_H */
39 
40 /* Define if your system supports the epoll system calls */
41 /* #undef EVENT__HAVE_EPOLL */
42 
43 /* Define to 1 if you have the `epoll_ctl' function. */
44 /* #undef EVENT__HAVE_EPOLL_CTL */
45 
46 /* Define to 1 if you have the `eventfd' function. */
47 /* #undef EVENT__HAVE_EVENTFD */
48 
49 /* Define if your system supports event ports */
50 /* #undef EVENT__HAVE_EVENT_PORTS */
51 
52 /* Define to 1 if you have the `fcntl' function. */
53 /* #undef EVENT__HAVE_FCNTL */
54 
55 /* Define to 1 if you have the <fcntl.h> header file. */
56 #define EVENT__HAVE_FCNTL_H 1
57 
58 /* Define to 1 if you have the `getaddrinfo' function. */
59 #define EVENT__HAVE_GETADDRINFO 1
60 
61 /* Define to 1 if you have the `getnameinfo' function. */
62 #define EVENT__HAVE_GETNAMEINFO 1
63 
64 /* Define to 1 if you have the `getprotobynumber' function. */
65 #define EVENT__HAVE_GETPROTOBYNUMBER 1
66 
67 /* Define to 1 if you have the `getservbyname' function. */
68 #define EVENT__HAVE_GETSERVBYNAME 1
69 
70 /* Define to 1 if you have the `gettimeofday' function. */
71 /* #define EVENT__HAVE_GETTIMEOFDAY 1 */
72 
73 /* Define to 1 if you have the `inet_ntop' function. */
74 /* #undef EVENT__HAVE_INET_NTOP */
75 
76 /* Define to 1 if you have the `inet_pton' function. */
77 /* #undef EVENT__HAVE_INET_PTON */
78 
79 /* Define to 1 if you have the <inttypes.h> header file. */
80 /* #define EVENT__HAVE_INTTYPES_H 1 */
81 
82 /* Define to 1 if you have the `kqueue' function. */
83 /* #undef EVENT__HAVE_KQUEUE */
84 
85 /* Define if the system has zlib */
86 /* #undef EVENT__HAVE_LIBZ */
87 
88 /* Define to 1 if you have the <memory.h> header file. */
89 #define EVENT__HAVE_MEMORY_H 1
90 
91 /* Define to 1 if you have the `mmap' function. */
92 /* #undef EVENT__HAVE_MMAP */
93 
94 /* Define to 1 if you have the <netinet/in6.h> header file. */
95 /* #undef EVENT__HAVE_NETINET_IN6_H */
96 
97 /* Define to 1 if you have the <netinet/in.h> header file. */
98 /* #undef EVENT__HAVE_NETINET_IN_H */
99 
100 /* Define to 1 if you have the `pipe' function. */
101 /* #undef EVENT__HAVE_PIPE */
102 
103 /* Define to 1 if you have the `poll' function. */
104 /* #undef EVENT__HAVE_POLL */
105 
106 /* Define to 1 if you have the <poll.h> header file. */
107 /* #undef EVENT__HAVE_POLL_H */
108 
109 /* Define to 1 if you have the `port_create' function. */
110 /* #undef EVENT__HAVE_PORT_CREATE */
111 
112 /* Define to 1 if you have the <port.h> header file. */
113 /* #undef EVENT__HAVE_PORT_H */
114 
115 /* Define if you have POSIX threads libraries and header files. */
116 /* #undef EVENT__HAVE_PTHREAD */
117 
118 /* Define if we have pthreads on this system */
119 /* #undef EVENT__HAVE_PTHREADS */
120 
121 /* Define to 1 if the system has the type `sa_family_t'. */
122 /* #undef EVENT__HAVE_SA_FAMILY_T */
123 
124 /* Define to 1 if you have the `select' function. */
125 /* #undef EVENT__HAVE_SELECT */
126 
127 /* Define to 1 if you have the `sendfile' function. */
128 /* #undef EVENT__HAVE_SENDFILE */
129 
130 /* Define if F_SETFD is defined in <fcntl.h> */
131 /* #undef EVENT__HAVE_SETFD */
132 
133 /* Define to 1 if you have the `sigaction' function. */
134 /* #undef EVENT__HAVE_SIGACTION */
135 
136 /* Define to 1 if you have the `signal' function. */
137 #define EVENT__HAVE_SIGNAL 1
138 
139 /* Define to 1 if you have the `splice' function. */
140 /* #undef EVENT__HAVE_SPLICE */
141 
142 /* Define to 1 if you have the <stdarg.h> header file. */
143 #define EVENT__HAVE_STDARG_H 1
144 
145 /* Define to 1 if you have the <stddef.h> header file. */
146 #define EVENT__HAVE_STDDEF_H 1
147 
148 /* Define to 1 if you have the <stdint.h> header file. */
149 /* #define EVENT__HAVE_STDINT_H 1 */
150 
151 /* Define to 1 if you have the <stdlib.h> header file. */
152 #define EVENT__HAVE_STDLIB_H 1
153 
154 /* Define to 1 if you have the <strings.h> header file. */
155 #define EVENT__HAVE_STRINGS_H 1
156 
157 /* Define to 1 if you have the <string.h> header file. */
158 #define EVENT__HAVE_STRING_H 1
159 
160 /* Define to 1 if you have the `strlcpy' function. */
161 /* #undef EVENT__HAVE_STRLCPY */
162 
163 /* Define to 1 if you have the `strsep' function. */
164 /* #undef EVENT__HAVE_STRSEP */
165 
166 /* Define to 1 if you have the `strtok_r' function. */
167 /* #undef EVENT__HAVE_STRTOK_R */
168 
169 /* Define to 1 if you have the `strtoll' function. */
170 /* #define EVENT__HAVE_STRTOLL 1 */
171 
172 #define EVENT__HAVE_STRUCT_ADDRINFO 1
173 
174 /* Define to 1 if the system has the type `struct in6_addr'. */
175 #define EVENT__HAVE_STRUCT_IN6_ADDR 1
176 
177 /* Define to 1 if `s6_addr16' is member of `struct in6_addr'. */
178 #define EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR16 1
179 
180 /* Define to 1 if `s6_addr32' is member of `struct in6_addr'. */
181 #define EVENT__HAVE_STRUCT_IN6_ADDR_S6_ADDR32 1
182 
183 /* Define to 1 if the system has the type `struct sockaddr_in6'. */
184 #define EVENT__HAVE_STRUCT_SOCKADDR_IN6 1
185 
186 /* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */
187 /* #undef EVENT__HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN */
188 
189 /* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */
190 /* #undef EVENT__HAVE_STRUCT_SOCKADDR_IN_SIN_LEN */
191 
192 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
193 #define EVENT__HAVE_STRUCT_SOCKADDR_STORAGE 1
194 
195 /* Define to 1 if you have the <sys/devpoll.h> header file. */
196 /* #undef EVENT__HAVE_SYS_DEVPOLL_H */
197 
198 /* Define to 1 if you have the <sys/epoll.h> header file. */
199 /* #undef EVENT__HAVE_SYS_EPOLL_H */
200 
201 /* Define to 1 if you have the <sys/eventfd.h> header file. */
202 /* #undef EVENT__HAVE_SYS_EVENTFD_H */
203 
204 /* Define to 1 if you have the <sys/event.h> header file. */
205 /* #undef EVENT__HAVE_SYS_EVENT_H */
206 
207 /* Define to 1 if you have the <sys/ioctl.h> header file. */
208 /* #undef EVENT__HAVE_SYS_IOCTL_H */
209 
210 /* Define to 1 if you have the <sys/mman.h> header file. */
211 /* #undef EVENT__HAVE_SYS_MMAN_H */
212 
213 /* Define to 1 if you have the <sys/param.h> header file. */
214 /* #define EVENT__HAVE_SYS_PARAM_H 1 */
215 
216 /* Define to 1 if you have the <sys/queue.h> header file. */
217 /* #undef EVENT__HAVE_SYS_QUEUE_H */
218 
219 /* Define to 1 if you have the <sys/select.h> header file. */
220 /* #undef EVENT__HAVE_SYS_SELECT_H */
221 
222 /* Define to 1 if you have the <sys/sendfile.h> header file. */
223 /* #undef EVENT__HAVE_SYS_SENDFILE_H */
224 
225 /* Define to 1 if you have the <sys/socket.h> header file. */
226 /* #undef EVENT__HAVE_SYS_SOCKET_H */
227 
228 /* Define to 1 if you have the <sys/stat.h> header file. */
229 #define EVENT__HAVE_SYS_STAT_H 1
230 
231 /* Define to 1 if you have the <sys/time.h> header file. */
232 /* #define EVENT__HAVE_SYS_TIME_H 1 */
233 
234 /* Define to 1 if you have the <sys/types.h> header file. */
235 #define EVENT__HAVE_SYS_TYPES_H 1
236 
237 /* Define to 1 if you have the <sys/uio.h> header file. */
238 /* #undef EVENT__HAVE_SYS_UIO_H */
239 
240 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
241 /* #undef EVENT__HAVE_TAILQFOREACH */
242 
243 /* Define if timeradd is defined in <sys/time.h> */
244 /* #undef EVENT__HAVE_TIMERADD */
245 
246 /* Define if timerclear is defined in <sys/time.h> */
247 #define EVENT__HAVE_TIMERCLEAR 1
248 
249 /* Define if timercmp is defined in <sys/time.h> */
250 #define EVENT__HAVE_TIMERCMP 1
251 
252 /* Define if timerisset is defined in <sys/time.h> */
253 #define EVENT__HAVE_TIMERISSET 1
254 
255 /* Define to 1 if the system has the type `uint16_t'. */
256 /* #define EVENT__HAVE_UINT16_T 1 */
257 
258 /* Define to 1 if the system has the type `uint32_t'. */
259 /* #define EVENT__HAVE_UINT32_T 1 */
260 
261 /* Define to 1 if the system has the type `uint64_t'. */
262 /* #define EVENT__HAVE_UINT64_T 1 */
263 
264 /* Define to 1 if the system has the type `uint8_t'. */
265 /* #define EVENT__HAVE_UINT8_T 1 */
266 
267 /* Define to 1 if you have the <unistd.h> header file. */
268 /* #define EVENT__HAVE_UNISTD_H 1 */
269 
270 /* Define to 1 if you have the `vasprintf' function. */
271 /* #undef EVENT__HAVE_VASPRINTF */
272 
273 /* Define if kqueue works correctly with pipes */
274 /* #undef EVENT__HAVE_WORKING_KQUEUE */
275 
276 /* Numeric representation of the version */
277 #define EVENT__NUMERIC_VERSION 0x02010800
278 
279 /* Name of package */
280 #define EVENT__PACKAGE "libevent"
281 
282 /* Define to the address where bug reports for this package should be sent. */
283 #define EVENT__PACKAGE_BUGREPORT ""
284 
285 /* Define to the full name of this package. */
286 #define EVENT__PACKAGE_NAME ""
287 
288 /* Define to the full name and version of this package. */
289 #define EVENT__PACKAGE_STRING ""
290 
291 /* Define to the one symbol short name of this package. */
292 #define EVENT__PACKAGE_TARNAME ""
293 
294 /* Define to the version of this package. */
295 #define EVENT__PACKAGE_VERSION ""
296 
297 /* Define to necessary symbol if this constant uses a non-standard name on
298    your system. */
299 /* #undef EVENT__PTHREAD_CREATE_JOINABLE */
300 
301 /* The size of a `int', as computed by sizeof. */
302 #define EVENT__SIZEOF_INT 4
303 
304 /* The size of a `long', as computed by sizeof. */
305 #define EVENT__SIZEOF_LONG 4
306 
307 /* The size of a `long long', as computed by sizeof. */
308 #define EVENT__SIZEOF_LONG_LONG 8
309 
310 /* The size of a `short', as computed by sizeof. */
311 #define EVENT__SIZEOF_SHORT 2
312 
313 /* The size of `size_t', as computed by sizeof. */
314 #ifdef _WIN64
315 #define EVENT__SIZEOF_SIZE_T 8
316 #else
317 #define EVENT__SIZEOF_SIZE_T 4
318 #endif
319 
320 /* The size of `void *', as computed by sizeof. */
321 #ifdef _WIN64
322 #define EVENT__SIZEOF_VOID_P 8
323 #else
324 #define EVENT__SIZEOF_VOID_P 4
325 #endif
326 
327 /* Define to 1 if you have the ANSI C header files. */
328 #define EVENT__STDC_HEADERS 1
329 
330 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
331 #define EVENT__TIME_WITH_SYS_TIME 1
332 
333 /* Version number of package */
334 #define EVENT__VERSION "2.1.8-stable"
335 
336 /* Define to appropriate substitue if compiler doesnt have __func__ */
337 #define EVENT____func__ __FUNCTION__
338 
339 /* Define to empty if `const' does not conform to ANSI C. */
340 /* #undef EVENT__const */
341 
342 /* Define to `__inline__' or `__inline' if that's what the C compiler
343    calls it, or to nothing if 'inline' is not supported under any name.  */
344 #ifndef _EVENT___cplusplus
345 #define EVENT__inline __inline
346 #endif
347 
348 /* Define to `int' if <sys/types.h> does not define. */
349 /* #undef EVENT__pid_t */
350 
351 /* Define to `unsigned' if <sys/types.h> does not define. */
352 /* #undef EVENT__size_t */
353 
354 /* Define to unsigned int if you dont have it */
355 #define EVENT__socklen_t unsigned int
356 
357 /* Define to `int' if <sys/types.h> does not define. */
358 #define EVENT__ssize_t SSIZE_T
359 
360 #endif
361