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