xref: /netbsd-src/external/bsd/ntp/dist/sntp/libevent/WIN32-Code/nmake/event2/event-config.h (revision eabc0478de71e4e011a5b4e0392741e01d491794)
1 /*	$NetBSD: event-config.h,v 1.7 2024/08/18 20:47:22 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/epoll.h> header file. */
198 /* #undef EVENT__HAVE_SYS_EPOLL_H */
199 
200 /* Define to 1 if you have the <sys/eventfd.h> header file. */
201 /* #undef EVENT__HAVE_SYS_EVENTFD_H */
202 
203 /* Define to 1 if you have the <sys/event.h> header file. */
204 /* #undef EVENT__HAVE_SYS_EVENT_H */
205 
206 /* Define to 1 if you have the <sys/ioctl.h> header file. */
207 /* #undef EVENT__HAVE_SYS_IOCTL_H */
208 
209 /* Define to 1 if you have the <sys/mman.h> header file. */
210 /* #undef EVENT__HAVE_SYS_MMAN_H */
211 
212 /* Define to 1 if you have the <sys/param.h> header file. */
213 /* #define EVENT__HAVE_SYS_PARAM_H 1 */
214 
215 /* Define to 1 if you have the <sys/queue.h> header file. */
216 /* #undef EVENT__HAVE_SYS_QUEUE_H */
217 
218 /* Define to 1 if you have the <sys/select.h> header file. */
219 /* #undef EVENT__HAVE_SYS_SELECT_H */
220 
221 /* Define to 1 if you have the <sys/sendfile.h> header file. */
222 /* #undef EVENT__HAVE_SYS_SENDFILE_H */
223 
224 /* Define to 1 if you have the <sys/socket.h> header file. */
225 /* #undef EVENT__HAVE_SYS_SOCKET_H */
226 
227 /* Define to 1 if you have the <sys/stat.h> header file. */
228 #define EVENT__HAVE_SYS_STAT_H 1
229 
230 /* Define to 1 if you have the <sys/time.h> header file. */
231 /* #define EVENT__HAVE_SYS_TIME_H 1 */
232 
233 /* Define to 1 if you have the <sys/types.h> header file. */
234 #define EVENT__HAVE_SYS_TYPES_H 1
235 
236 /* Define to 1 if you have the <sys/uio.h> header file. */
237 /* #undef EVENT__HAVE_SYS_UIO_H */
238 
239 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */
240 /* #undef EVENT__HAVE_TAILQFOREACH */
241 
242 /* Define if timeradd is defined in <sys/time.h> */
243 /* #undef EVENT__HAVE_TIMERADD */
244 
245 /* Define if timerclear is defined in <sys/time.h> */
246 #define EVENT__HAVE_TIMERCLEAR 1
247 
248 /* Define if timercmp is defined in <sys/time.h> */
249 #define EVENT__HAVE_TIMERCMP 1
250 
251 /* Define if timerisset is defined in <sys/time.h> */
252 #define EVENT__HAVE_TIMERISSET 1
253 
254 /* Define to 1 if the system has the type `uint16_t'. */
255 /* #define EVENT__HAVE_UINT16_T 1 */
256 
257 /* Define to 1 if the system has the type `uint32_t'. */
258 /* #define EVENT__HAVE_UINT32_T 1 */
259 
260 /* Define to 1 if the system has the type `uint64_t'. */
261 /* #define EVENT__HAVE_UINT64_T 1 */
262 
263 /* Define to 1 if the system has the type `uint8_t'. */
264 /* #define EVENT__HAVE_UINT8_T 1 */
265 
266 /* Define to 1 if you have the <unistd.h> header file. */
267 /* #define EVENT__HAVE_UNISTD_H 1 */
268 
269 /* Define to 1 if you have the `vasprintf' function. */
270 /* #undef EVENT__HAVE_VASPRINTF */
271 
272 /* Define if kqueue works correctly with pipes */
273 /* #undef EVENT__HAVE_WORKING_KQUEUE */
274 
275 /* Numeric representation of the version */
276 #define EVENT__NUMERIC_VERSION 0x02010c00
277 
278 /* Name of package */
279 #define EVENT__PACKAGE "libevent"
280 
281 /* Define to the address where bug reports for this package should be sent. */
282 #define EVENT__PACKAGE_BUGREPORT ""
283 
284 /* Define to the full name of this package. */
285 #define EVENT__PACKAGE_NAME ""
286 
287 /* Define to the full name and version of this package. */
288 #define EVENT__PACKAGE_STRING ""
289 
290 /* Define to the one symbol short name of this package. */
291 #define EVENT__PACKAGE_TARNAME ""
292 
293 /* Define to the version of this package. */
294 #define EVENT__PACKAGE_VERSION ""
295 
296 /* Define to necessary symbol if this constant uses a non-standard name on
297    your system. */
298 /* #undef EVENT__PTHREAD_CREATE_JOINABLE */
299 
300 /* The size of a `int', as computed by sizeof. */
301 #define EVENT__SIZEOF_INT 4
302 
303 /* The size of a `long', as computed by sizeof. */
304 #define EVENT__SIZEOF_LONG 4
305 
306 /* The size of a `long long', as computed by sizeof. */
307 #define EVENT__SIZEOF_LONG_LONG 8
308 
309 /* The size of a `short', as computed by sizeof. */
310 #define EVENT__SIZEOF_SHORT 2
311 
312 /* The size of `size_t', as computed by sizeof. */
313 #ifdef _WIN64
314 #define EVENT__SIZEOF_SIZE_T 8
315 #else
316 #define EVENT__SIZEOF_SIZE_T 4
317 #endif
318 
319 /* The size of `void *', as computed by sizeof. */
320 #ifdef _WIN64
321 #define EVENT__SIZEOF_VOID_P 8
322 #else
323 #define EVENT__SIZEOF_VOID_P 4
324 #endif
325 
326 /* The size of `time_t`, as computed by sizeof. */
327 #ifdef _WIN64
328 #define EVENT__SIZEOF_TIME_T 8
329 #else
330 #define EVENT__SIZEOF_TIME_T 4
331 #endif
332 
333 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
334 #define EVENT__TIME_WITH_SYS_TIME 1
335 
336 /* Version number of package */
337 #define EVENT__VERSION "2.1.12-stable"
338 
339 /* Define to `__inline__' or `__inline' if that's what the C compiler
340    calls it, or to nothing if 'inline' is not supported under any name.  */
341 #define EVENT__inline __inline
342 
343 /* Define to `unsigned' if <sys/types.h> does not define. */
344 /* #undef EVENT__size_t */
345 
346 /* Define to unsigned int if you dont have it */
347 #define EVENT__socklen_t unsigned int
348 
349 /* Define to `int' if <sys/types.h> does not define. */
350 #define EVENT__ssize_t SSIZE_T
351 
352 #endif
353