1 /* clamav-config.h.  Generated from clamav-config.h.in by update-win32.  */
2 
3 /* clamav-config.h.in.  Generated from configure.in by autoheader.  */
4 
5 /* Define if building universal (internal helper macro) */
6 /* #undef AC_APPLE_UNIVERSAL_BUILD */
7 
8 /* mmap flag for anonymous maps */
9 /* #undef ANONYMOUS_MAP */
10 
11 /* enable bind8 compatibility */
12 /* #undef BIND_8_COMPAT */
13 
14 /* name of the clamav group */
15 #define CLAMAVGROUP "clamav"
16 
17 /* name of the clamav user */
18 #define CLAMAVUSER "clamav"
19 
20 /* enable debugging */
21 /* #undef CL_DEBUG */
22 
23 /* enable experimental code */
24 /* #undef CL_EXPERIMENTAL */
25 
26 /* thread safe */
27 #define CL_THREAD_SAFE 1
28 
29 /* where to look for the config file */
30 /* #undef CONFDIR */
31 
32 /* curses header location */
33 /* #undef CURSES_INCLUDE */
34 
35 /* os is aix */
36 /* #undef C_AIX */
37 
38 /* os is beos */
39 /* #undef C_BEOS */
40 
41 /* Increase thread stack size. */
42 /* #undef C_BIGSTACK */
43 
44 /* os is bsd flavor */
45 /* #undef C_BSD */
46 
47 /* os is darwin */
48 /* #undef C_DARWIN */
49 
50 /* target is gnu-hurd */
51 /* #undef C_GNU_HURD */
52 
53 /* os is hpux */
54 /* #undef C_HPUX */
55 
56 /* os is interix */
57 /* #undef C_INTERIX */
58 
59 /* os is irix */
60 /* #undef C_IRIX */
61 
62 /* target is kfreebsd-gnu */
63 /* #undef C_KFREEBSD_GNU */
64 
65 /* target is linux */
66 /* #undef C_LINUX */
67 
68 /* os is OS/2 */
69 /* #undef C_OS2 */
70 
71 /* os is osf/tru64 */
72 /* #undef C_OSF */
73 
74 /* os is QNX 6.x.x */
75 /* #undef C_QNX6 */
76 
77 /* os is solaris */
78 /* #undef C_SOLARIS */
79 
80 /* Path to virus database directory. */
81 /* #undef DATADIR */
82 
83 /* "default FD_SETSIZE value" */
84 #define DEFAULT_FD_SETSIZE 1024
85 
86 /* use fanotify */
87 /* #undef HAVE_SYS_FANOTIFY_H */
88 
89 /* whether _XOPEN_SOURCE needs to be defined for fd passing to work */
90 /* #undef FDPASS_NEED_XOPEN */
91 
92 /* file i/o buffer size */
93 #define FILEBUFF 8192
94 
95 /* enable workaround for broken DNS servers */
96 /* #undef FRESHCLAM_DNS_FIX */
97 
98 /* use "Cache-Control: no-cache" in freshclam */
99 /* #undef FRESHCLAM_NO_CACHE */
100 
101 /* Define to 1 if you have the `argz_add' function. */
102 /* #undef HAVE_ARGZ_ADD */
103 
104 /* Define to 1 if you have the `argz_append' function. */
105 /* #undef HAVE_ARGZ_APPEND */
106 
107 /* Define to 1 if you have the `argz_count' function. */
108 /* #undef HAVE_ARGZ_COUNT */
109 
110 /* Define to 1 if you have the `argz_create_sep' function. */
111 /* #undef HAVE_ARGZ_CREATE_SEP */
112 
113 /* Define to 1 if you have the <argz.h> header file. */
114 /* #undef HAVE_ARGZ_H */
115 
116 /* Define to 1 if you have the `argz_insert' function. */
117 /* #undef HAVE_ARGZ_INSERT */
118 
119 /* Define to 1 if you have the `argz_next' function. */
120 /* #undef HAVE_ARGZ_NEXT */
121 
122 /* Define to 1 if you have the `argz_stringify' function. */
123 /* #undef HAVE_ARGZ_STRINGIFY */
124 
125 /* attrib aligned */
126 /* #undef HAVE_ATTRIB_ALIGNED */
127 
128 /* attrib packed */
129 /* #undef HAVE_ATTRIB_PACKED */
130 
131 /* have bzip2 */
132 #define HAVE_BZLIB_H 1
133 
134 /* Define to 1 if you have the `closedir' function. */
135 #define HAVE_CLOSEDIR 1
136 
137 /* Define to 1 if you have the `ctime_r' function. */
138 /* #undef HAVE_CTIME_R */
139 
140 /* ctime_r takes 2 arguments */
141 /* #undef HAVE_CTIME_R_2 */
142 
143 /* ctime_r takes 3 arguments */
144 /* #undef HAVE_CTIME_R_3 */
145 
146 /* Define to 1 if you have the declaration of `cygwin_conv_path', and to 0 if
147    you don't. */
148 /* #undef HAVE_DECL_CYGWIN_CONV_PATH */
149 
150 /* Define to 1 if you have the <dirent.h> header file. */
151 #define HAVE_DIRENT_H 1
152 
153 /* Define if you have the GNU dld library. */
154 /* #undef HAVE_DLD */
155 
156 /* Define to 1 if you have the <dld.h> header file. */
157 /* #undef HAVE_DLD_H */
158 
159 /* Define to 1 if you have the `dlerror' function. */
160 /* #undef HAVE_DLERROR */
161 
162 /* Define to 1 if you have the <dlfcn.h> header file. */
163 #define HAVE_DLFCN_H 1
164 
165 /* Define to 1 if you have the <dl.h> header file. */
166 /* #undef HAVE_DL_H */
167 
168 /* Define if you have the _dyld_func_lookup function. */
169 /* #undef HAVE_DYLD */
170 
171 /* Define to 1 if you have the `enable_extended_FILE_stdio' function. */
172 /* #undef HAVE_ENABLE_EXTENDED_FILE_STDIO */
173 
174 /* Define to 1 if the system has the type `error_t'. */
175 /* #undef HAVE_ERROR_T */
176 
177 /* have working file descriptor passing support */
178 /* #undef HAVE_FD_PASSING */
179 
180 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
181 #define HAVE_FSEEKO 1
182 
183 /* have getaddrinfo() */
184 #define HAVE_GETADDRINFO 1
185 
186 /* Define to 1 if getpagesize() is available */
187 #define HAVE_GETPAGESIZE 1
188 
189 /* Define to 1 if you have the <grp.h> header file. */
190 /* #undef HAVE_GRP_H */
191 
192 /* iconv() available */
193 /* #undef HAVE_ICONV */
194 
195 /* Define to 1 if you have the `inet_ntop' function. */
196 #define HAVE_INET_NTOP 1
197 
198 /* Define to 1 if you have the `initgroups' function. */
199 /* #undef HAVE_INITGROUPS */
200 
201 /* Define to 1 if you have the <inttypes.h> header file. */
202 #define HAVE_INTTYPES_H 1
203 
204 /* in_addr_t is defined */
205 /* #undef HAVE_IN_ADDR_T */
206 
207 /* in_port_t is defined */
208 #define HAVE_IN_PORT_T 1
209 
210 /* Define to 1 if you have the 'libjson' library (-ljson). */
211 #define HAVE_JSON 1
212 
213 /* Define to '1' if you have the check.h library */
214 /* #undef HAVE_LIBCHECK */
215 
216 /* Define if you have the libdl library or equivalent. */
217 #define HAVE_LIBDL 1
218 
219 /* Define if libdlloader will be built on this platform */
220 #define HAVE_LIBDLLOADER 1
221 
222 /* Define to 1 if you have the <libmilter/mfapi.h> header file. */
223 /* #undef HAVE_LIBMILTER_MFAPI_H */
224 
225 /* Define to '1' if you have the ncurses.h library */
226 /* #undef HAVE_LIBNCURSES */
227 
228 /* Define to '1' if you have the curses.h library */
229 /* #undef HAVE_LIBPDCURSES */
230 
231 /* Define to 1 if you have the 'pcre2' library (-lpcre2). */
232 #define HAVE_PCRE 1
233 #define USING_PCRE2 1
234 
235 /* Define to 1 if you have the 'libxml2' library (-lxml2). */
236 #define HAVE_LIBXML2 1
237 
238 /* Define to 1 if you have the `z' library (-lz). */
239 #define HAVE_LIBZ 1
240 
241 /* Define to 1 if you have the <limits.h> header file. */
242 #define HAVE_LIMITS_H 1
243 
244 /* Define this if a modern libltdl is already installed */
245 /* #undef HAVE_LTDL 1 */
246 
247 /* Define to 1 if you have the <mach-o/dyld.h> header file. */
248 /* #undef HAVE_MACH_O_DYLD_H */
249 
250 /* Define to 1 if you have the `madvise' function. */
251 /* #undef HAVE_MADVISE */
252 
253 /* Define to 1 if you have the `mallinfo' function. */
254 /* #undef HAVE_MALLINFO */
255 
256 /* Define to 1 if you have the <malloc.h> header file. */
257 #define HAVE_MALLOC_H 1
258 
259 /* Define to 1 if you have the `memcpy' function. */
260 #define HAVE_MEMCPY 1
261 
262 /* Define to 1 if you have the <memory.h> header file. */
263 #define HAVE_MEMORY_H 1
264 
265 /* Define to 1 if you have the `mkstemp' function. */
266 #define HAVE_MKSTEMP 1
267 
268 /* Define to 1 if you have a working `mmap' system call that supports
269    MAP_PRIVATE. */
270 /* #undef HAVE_MMAP */
271 
272 /* Define to 1 if you have the <ndir.h> header file. */
273 /* #undef HAVE_NDIR_H */
274 
275 /* Define to 1 if you have the `opendir' function. */
276 #define HAVE_OPENDIR 1
277 
278 /* Define to 1 if you have the `poll' function. */
279 #define HAVE_POLL 1
280 
281 /* Define to 1 if you have the <poll.h> header file. */
282 /* #undef HAVE_POLL_H */
283 
284 /* "pragma pack" */
285 #define HAVE_PRAGMA_PACK 1
286 
287 /* "pragma pack hppa/hp-ux style" */
288 /* #undef HAVE_PRAGMA_PACK_HPPA */
289 
290 /* Define if libtool can extract symbol lists from object files. */
291 /* #undef HAVE_PRELOADED_SYMBOLS */
292 
293 /* Define to 1 if you have the `pthread_yield' function. */
294 #define HAVE_PTHREAD_YIELD 1
295 
296 /* Define to 1 if you have the <pwd.h> header file. */
297 /* #undef HAVE_PWD_H */
298 
299 /* Define to 1 if you have the `readdir' function. */
300 #define HAVE_READDIR 1
301 
302 /* readdir_r takes 2 arguments */
303 /* #undef HAVE_READDIR_R_2 */
304 
305 /* readdir_r takes 3 arguments */
306 /* #undef HAVE_READDIR_R_3 */
307 
308 /* Define to 1 if you have the `recvmsg' function. */
309 #define HAVE_RECVMSG 1
310 
311 /* have resolv.h */
312 #define HAVE_RESOLV_H 1
313 
314 /* Define signed right shift implementation */
315 #define HAVE_SAR 1
316 
317 /* Define to 1 if you have the `sched_yield' function. */
318 /* #undef HAVE_SCHED_YIELD */
319 
320 /* Define to 1 if you have the `sendmsg' function. */
321 #define HAVE_SENDMSG 1
322 
323 /* Define to 1 if you have the `setgroups' function. */
324 /* #undef HAVE_SETGROUPS */
325 
326 /* Define to 1 if you have the `setsid' function. */
327 #define HAVE_SETSID 1
328 
329 /* Define if you have the shl_load function. */
330 /* #undef HAVE_SHL_LOAD */
331 
332 /* Define to 1 if you have the `snprintf' function. */
333 #define HAVE_SNPRINTF 1
334 
335 /* Define to 1 if you have the <stdbool.h> header file. */
336 #define HAVE_STDBOOL_H 1
337 
338 /* Define to 1 if you have the <stdint.h> header file. */
339 /* #undef HAVE_STDINT_H */
340 #define HAVE_STDINT_H 1
341 
342 /* Define to 1 if you have the <stdlib.h> header file. */
343 #define HAVE_STDLIB_H 1
344 
345 /* Define to 1 if you have the `strcasestr' function. */
346 /* #undef HAVE_STRCASESTR */
347 
348 /* Define to 1 if you have the `strerror_r' function. */
349 #define HAVE_STRERROR_R 1
350 
351 /* Define to 1 if you have the <strings.h> header file. */
352 /* #undef HAVE_STRINGS_H */
353 
354 /* Define to 1 if you have the <string.h> header file. */
355 #define HAVE_STRING_H 1
356 
357 /* Define to 1 if you have the `strlcat' function. */
358 /* #undef HAVE_STRLCAT */
359 
360 /* Define to 1 if you have the `strlcpy' function. */
361 /* #undef HAVE_STRLCPY */
362 
363 /* Define to 1 if you have the `strndup' function. */
364 /* #undef HAVE_STRNDUP */
365 
366 /* Define to 1 if you have the `strnstr' function. */
367 /* #undef HAVE_STRNSTR */
368 
369 /* Define to 1 if sysconf(_SC_PAGESIZE) is available */
370 /* #undef HAVE_SYSCONF_SC_PAGESIZE */
371 
372 /* link against system-wide libtommath */
373 /* #undef HAVE_SYSTEM_TOMMATH */
374 
375 /* Define to 1 if you have the <sys/dl.h> header file. */
376 /* #undef HAVE_SYS_DL_H */
377 
378 /* Define to 1 if you have the <sys/filio.h> header file. */
379 /* #undef HAVE_SYS_FILIO_H */
380 
381 /* Define to 1 if you have the <sys/inttypes.h> header file. */
382 /* #undef HAVE_SYS_INTTYPES_H */
383 
384 /* Define to 1 if you have the <sys/int_types.h> header file. */
385 /* #undef HAVE_SYS_INT_TYPES_H */
386 
387 /* Define to 1 if you have the <sys/mman.h> header file. */
388 /* #undef HAVE_SYS_MMAN_H */
389 
390 /* Define to 1 if you have the <sys/param.h> header file. */
391 /* #undef HAVE_SYS_PARAM_H */
392 
393 /* "have <sys/select.h>" */
394 /* #undef HAVE_SYS_SELECT_H */
395 
396 /* Define to 1 if you have the <sys/stat.h> header file. */
397 #define HAVE_SYS_STAT_H 1
398 
399 /* Define to 1 if you have the <sys/times.h> header file. */
400 /* #undef HAVE_SYS_TIMES_H */
401 
402 /* Define to 1 if you have the <sys/types.h> header file. */
403 #define HAVE_SYS_TYPES_H 1
404 
405 /* Define to 1 if you have the <sys/uio.h> header file. */
406 /* #undef HAVE_SYS_UIO_H */
407 
408 /* Define to 1 if you have the <termios.h> header file. */
409 /* #undef HAVE_TERMIOS_H */
410 
411 /* Define this if uname(2) is POSIX */
412 /* #undef HAVE_UNAME_SYSCALL */
413 
414 /* Define to 1 if you have the <unistd.h> header file. */
415 /* #undef HAVE_UNISTD_H */
416 
417 /* Define to 1 if you have the `vsnprintf' function. */
418 #define HAVE_VSNPRINTF 1
419 
420 /* This value is set to 1 to indicate that the system argz facility works */
421 /* #undef HAVE_WORKING_ARGZ */
422 
423 /* For internal use only - DO NOT DEFINE */
424 /* #undef HAVE__INTERNAL__SHA_COLLECT */
425 
426 /* "Full library version number" */
427 #define LIBCLAMAV_FULLVER "9.0.4"
428 
429 /* "Major library version number" */
430 #define LIBCLAMAV_MAJORVER 9
431 
432 /* "Full library version number" */
433 #define LIBFRESHCLAM_FULLVER "2.0.0"
434 
435 /* "Major library version number" */
436 #define LIBFRESHCLAM_MAJORVER 2
437 
438 /* Define if the OS needs help to load dependent libraries for dlopen(). */
439 /* #undef LTDL_DLOPEN_DEPLIBS */
440 
441 /* Define to the system default library search path. */
442 #define LT_DLSEARCH_PATH ""
443 
444 /* The archive extension */
445 #define LT_LIBEXT "dll"
446 
447 /* The archive prefix */
448 /* #undef LT_LIBPREFIX */
449 
450 /* Define to the extension used for runtime loadable modules, say, ".so". */
451 #define LT_MODULE_EXT ".dll"
452 
453 /* Define to the name of the environment variable that determines the run-time
454    module search path. */
455 #define LT_MODULE_PATH_VAR "LD_LIBRARY_PATH"
456 
457 /* Define to the sub-directory in which libtool stores uninstalled libraries.
458    */
459 #define LT_OBJDIR ""
460 
461 /* disable assertions */
462 /* #undef NDEBUG */
463 
464 /* Define if dlsym() requires a leading underscore in symbol names. */
465 /* #undef NEED_USCORE */
466 
467 /* bzip funtions do not have bz2 prefix */
468 /* #undef NOBZ2PREFIX */
469 
470 /* "no fd_set" */
471 /* #undef NO_FD_SET */
472 
473 /* Name of package */
474 #define PACKAGE PACKAGE_NAME
475 
476 /* Define to the address where bug reports for this package should be sent. */
477 #define PACKAGE_BUGREPORT "https://bugzilla.clamav.net/"
478 
479 /* Define to the full name of this package. */
480 #define PACKAGE_NAME "ClamAV"
481 
482 /* Define to the full name and version of this package. */
483 #define PACKAGE_STRING "ClamAV 0.103.5"
484 
485 /* Define to the one symbol short name of this package. */
486 #define PACKAGE_TARNAME "clamav"
487 
488 /* Define to the home page for this package. */
489 #define PACKAGE_URL "https://www.clamav.net/"
490 
491 /* Define to the version of this package. */
492 #define PACKAGE_VERSION "0.103.5"
493 
494 /* scan buffer size */
495 #define SCANBUFF 131072
496 
497 /* Define to 1 if the `setpgrp' function takes no argument. */
498 #define SETPGRP_VOID 1
499 
500 /* The number of bytes in type int */
501 #define SIZEOF_INT 4
502 
503 /* The number of bytes in type long */
504 #define SIZEOF_LONG 4
505 
506 /* The number of bytes in type long long */
507 #define SIZEOF_LONG_LONG 8
508 
509 /* The number of bytes in type short */
510 #define SIZEOF_SHORT 2
511 
512 /* The number of bytes in type void * */
513 /* #undef SIZEOF_VOID_P */
514 
515 /* Define to 1 if you have the ANSI C header files. */
516 #define STDC_HEADERS 1
517 
518 /* Support for IPv6 */
519 #define SUPPORT_IPv6 1
520 
521 /* enable memory pools */
522 #define USE_MPOOL 1
523 
524 /* use syslog */
525 /* #undef USE_SYSLOG */
526 
527 /* Version number of package */
528 #define VERSION "0.103.5"
529 
530 /* Version suffix for package */
531 #define VERSION_SUFFIX ""
532 
533 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
534    significant byte first (like Motorola and SPARC, unlike Intel). */
535 #if defined AC_APPLE_UNIVERSAL_BUILD
536 #if defined __BIG_ENDIAN__
537 #define WORDS_BIGENDIAN 1
538 #endif
539 #else
540 #ifndef WORDS_BIGENDIAN
541 #define WORDS_BIGENDIAN 0
542 #endif
543 #endif
544 
545 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
546 /* #undef _LARGEFILE_SOURCE */
547 
548 /* POSIX compatibility */
549 /* #undef _POSIX_PII_SOCKET */
550 
551 /* thread safe */
552 #define _REENTRANT 1
553 
554 /* thread safe */
555 /* #undef _THREAD_SAFE */
556 
557 /* Define so that glibc/gnulib argp.h does not typedef error_t. */
558 /* #undef __error_t_defined */
559 
560 /* Define to empty if `const' does not conform to ANSI C. */
561 /* #undef const */
562 
563 /* Define to a type to use for `error_t' if it is not otherwise available. */
564 /* #undef error_t */
565 
566 /* Define to `__inline__' or `__inline' if that's what the C compiler
567    calls it, or to nothing if 'inline' is not supported under any name.  */
568 #ifndef __cplusplus
569 #define inline _inline
570 #endif
571 
572 /* Define to `long int' if <sys/types.h> does not define. */
573 /* #undef off_t */
574 
575 /* Define to `int' */
576 typedef int ssize_t;
577 
578 /* Define to the equivalent of the C99 'restrict' keyword, or to
579    nothing if this is not supported.  Do not define if restrict is
580    supported directly.  */
581 /* #undef restrict */
582 /* Work around a bug in Sun C++: it does not support _Restrict or
583    __restrict__, even though the corresponding Sun C compiler ends up with
584    "#define restrict _Restrict" or "#define restrict __restrict__" in the
585    previous line.  Perhaps some future version of Sun C++ will work with
586    restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
587 #if defined __SUNPRO_CC && !defined __RESTRICT
588 #define _Restrict
589 #define __restrict__
590 #endif
591 
592 /* Define to "int" if <sys/socket.h> does not define. */
593 typedef int socklen_t;
594 
595 #define LLVM_VERSION 28
596 
597 /* YARA */
598 #define HAVE_YARA 1
599 
600 /* Curses */
601 #define HAVE_LIBPDCURSES 1
602 #define CURSES_INCLUDE <curses.h>
603 
604 #include "platform.h"
605