1 /* config.h. Generated from config.h.in by configure. */
2 /* config.h.in. Generated from configure.ac by autoheader. */
8 /* The architecture this is running on */
10 #define MONO_ARCHITECTURE "ia64"
11 #elif defined(_M_AMD64)
12 #define MONO_ARCHITECTURE "amd64"
13 #elif defined(_M_IX86)
14 #define MONO_ARCHITECTURE "x86"
16 #error Unknown architecture
23 #include <SDKDDKVer.h>
25 #if _WIN32_WINNT < 0x0600
26 #error "Mono requires Windows Vista or later"
27 #endif /* _WIN32_WINNT < 0x0600 */
29 #ifndef HAVE_WINAPI_FAMILY_SUPPORT
31 #define HAVE_WINAPI_FAMILY_SUPPORT
33 /* WIN API Family support */
34 #include <winapifamily.h>
36 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
37 #define HAVE_CLASSIC_WINAPI_SUPPORT 1
38 #define HAVE_UWP_WINAPI_SUPPORT 0
39 #elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
40 #define HAVE_CLASSIC_WINAPI_SUPPORT 0
41 #define HAVE_UWP_WINAPI_SUPPORT 1
42 #ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
43 #error Unsupported WINAPI family
46 #define HAVE_CLASSIC_WINAPI_SUPPORT 0
47 #define HAVE_UWP_WINAPI_SUPPORT 0
48 #ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
49 #error Unsupported WINAPI family
56 * Features that are not required in the Windows port
58 #define DISABLE_PORTABILITY 1
60 /* Windows does not have symlinks */
61 #define PLATFORM_NO_SYMLINKS 1
63 /* String of disabled features */
64 #define DISABLED_FEATURES "none"
66 /* Disable AOT support */
67 /* #undef DISABLE_AOT */
69 /* Disable COM support */
70 /* #undef DISABLE_COM */
72 /* Disable runtime debugging support */
73 /* #undef DISABLE_DEBUG */
75 /* Disable System.Decimal support */
76 /* #undef DISABLE_DECIMAL */
78 /* Disable generics support */
79 /* #undef DISABLE_GENERICS */
81 /* Disable support for huge assemblies */
82 /* #undef DISABLE_LARGE_CODE */
84 /* Disable support debug logging */
85 /* #undef DISABLE_LOGGING */
87 /* Disable P/Invoke support */
88 /* #undef DISABLE_PINVOKE */
90 /* Disable default profiler support */
91 /* #undef DISABLE_PROFILER */
93 /* Disable reflection emit support */
94 /* #undef DISABLE_REFLECTION_EMIT */
96 /* Disable advanced SSA JIT optimizations */
97 /* #undef DISABLE_SSA */
99 /* Enable DTrace probes */
100 /* #undef ENABLE_DTRACE */
102 /* Has the 'aintl' function */
103 /* #undef HAVE_AINTL */
105 /* Supports C99 array initialization */
106 /* #undef HAVE_ARRAY_ELEM_INIT */
108 /* Define to 1 if you have the <attr/xattr.h> header file. */
109 /* #undef HAVE_ATTR_XATTR_H */
111 /* Define to 1 if you have the `backtrace_symbols' function. */
112 /* #undef HAVE_BACKTRACE_SYMBOLS */
114 /* Define to 1 if the system has the type `blkcnt_t'. */
115 /* #undef HAVE_BLKCNT_T */
117 /* Define to 1 if the system has the type `blksize_t'. */
118 /* #undef HAVE_BLKSIZE_T */
121 /* #define HAVE_BOEHM_GC 1 */
123 /* Define to 1 if you have the <checklist.h> header file. */
124 /* #undef HAVE_CHECKLIST_H */
126 /* Define to 1 if you have the <complex.h> header file. */
127 #define HAVE_COMPLEX_H 1
129 /* Define to 1 if you have the `system' function. */
130 #if HAVE_WINAPI_FAMILY_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
131 #define HAVE_SYSTEM 1
135 /* Have /dev/random */
136 #define HAVE_CRYPT_RNG 1
138 /* Define to 1 if you have the <curses.h> header file. */
139 /* #undef HAVE_CURSES_H */
141 /* Define to 1 if you have the declaration of `InterlockedAdd',
142 and to 0 if you don't. */
143 #define HAVE_DECL_INTERLOCKEDADD 1
145 /* Define to 1 if you have the declaration of `InterlockedAdd64',
146 and to 0 if you don't. */
147 #define HAVE_DECL_INTERLOCKEDADD64 1
149 /* Define to 1 if you have the declaration of `InterlockedCompareExchange64',
150 and to 0 if you don't. */
151 #define HAVE_DECL_INTERLOCKEDCOMPAREEXCHANGE64 1
153 /* Define to 1 if you have the declaration of `InterlockedDecrement64',
154 and to 0 if you don't. */
155 #define HAVE_DECL_INTERLOCKEDDECREMENT64 1
157 /* Define to 1 if you have the declaration of `InterlockedExchange64',
158 and to 0 if you don't. */
159 #define HAVE_DECL_INTERLOCKEDEXCHANGE64 1
161 /* Define to 1 if you have the declaration of `InterlockedIncrement64',
162 and to 0 if you don't. */
163 #define HAVE_DECL_INTERLOCKEDINCREMENT64 1
165 /* Define to 1 if you have the declaration of `__readfsdword',
166 and to 0 if you don't. */
167 #define HAVE_DECL___READFSDWORD 1
169 /* Define to 1 if you have the <dirent.h> header file. */
170 /* #define HAVE_DIRENT_H 1 */
172 /* Define to 1 if you have the <dlfcn.h> header file. */
173 /* #undef HAVE_DLFCN_H */
175 /* dlopen-based dynamic loader available */
176 /* #undef HAVE_DL_LOADER */
178 /* Define to 1 if you have the <elf.h> header file. */
179 /* #undef HAVE_ELF_H */
181 /* epoll supported */
182 /* #undef HAVE_EPOLL */
184 /* Define to 1 if you have the `epoll_ctl' function. */
185 /* #undef HAVE_EPOLL_CTL */
187 /* Define to 1 if you have the <execinfo.h> header file. */
188 /* #undef HAVE_EXECINFO_H */
190 /* Define to 1 if you have the `fgetgrent' function. */
191 /* #undef HAVE_FGETGRENT */
193 /* Define to 1 if you have the `fgetpwent' function. */
194 /* #undef HAVE_FGETPWENT */
196 /* Define to 1 if you have the `finite' function. */
197 /* #undef HAVE_FINITE */
199 /* Define to 1 if you have the <fstab.h> header file. */
200 /* #undef HAVE_FSTAB_H */
202 /* Define to 1 if you have the `fstatfs' function. */
203 /* #undef HAVE_FSTATFS */
205 /* Define to 1 if you have the `fstatvfs' function. */
206 /* #undef HAVE_FSTATVFS */
208 /* Define to 1 if you have the `getaddrinfo' function. */
209 #define HAVE_GETADDRINFO 1
211 /* Define to 1 if you have the `getnameinfo' function. */
212 #define HAVE_GETNAMEINFO 1
214 /* Define to 1 if you have the `getprotobyname' function. */
215 #define HAVE_GETPROTOBYNAME 1
217 /* Define to 1 if you have the `getdomainname' function. */
218 /* #undef HAVE_GETDOMAINNAME */
220 /* Define to 1 if you have the `getfsstat' function. */
221 /* #undef HAVE_GETFSSTAT */
223 /* Define to 1 if you have the `getgrgid_r' function. */
224 /* #undef HAVE_GETGRGID_R */
226 /* Define to 1 if you have the `getgrnam_r' function. */
227 /* #undef HAVE_GETGRNAM_R */
229 /* Have gethostbyname2_r */
230 /* #undef HAVE_GETHOSTBYNAME2_R */
232 /* Define to 1 if you have the `getpriority' function. */
233 /* #undef HAVE_GETPRIORITY */
235 /* Define to 1 if you have the `GetProcessId' function. */
236 #define HAVE_GETPROCESSID 1
238 /* Define to 1 if you have the `getpwnam_r' function. */
239 /* #undef HAVE_GETPWNAM_R */
241 /* Define to 1 if you have the `getpwuid_r' function. */
242 /* #undef HAVE_GETPWUID_R */
244 /* Define to 1 if you have the `getresuid' function. */
245 /* #undef HAVE_GETRESUID */
247 /* Define to 1 if you have the `getrusage' function. */
248 /* #undef HAVE_GETRUSAGE */
250 /* Define to 1 if you have the <grp.h> header file. */
251 /* #undef HAVE_GRP_H */
253 /* Define to 1 if you have the <ieeefp.h> header file. */
254 /* #undef HAVE_IEEEFP_H */
256 /* Define to 1 if you have the `inet_aton' function. */
257 /* #undef HAVE_INET_ATON */
259 /* Define to 1 if you have the `inet_pton' function. */
260 #define HAVE_INET_PTON 1
262 /* Define to 1 if you have the <inttypes.h> header file. */
263 #define HAVE_INTTYPES_H 1
265 /* Have IPV6_PKTINFO */
266 /* #undef HAVE_IPV6_PKTINFO */
268 /* Have IP_DONTFRAGMENT */
269 /* #undef HAVE_IP_DONTFRAGMENT */
271 /* Have IP_MTU_DISCOVER */
272 /* #undef HAVE_IP_MTU_DISCOVER */
274 /* Have IP_PKTINFO */
275 /* #undef HAVE_IP_PKTINFO */
277 /* Define to 1 if you have the `isfinite' function. */
278 /* #undef HAVE_ISFINITE */
280 /* isinf available */
283 /* Define to 1 if you have the `kqueue' function. */
284 /* #undef HAVE_KQUEUE */
286 /* Have __thread keyword */
287 /* #undef HAVE_KW_THREAD */
289 /* Have large file support */
290 /* #undef HAVE_LARGE_FILE_SUPPORT */
292 /* Define to 1 if you have the `unwind' library (-lunwind). */
293 /* #undef HAVE_LIBUNWIND */
295 /* Define to 1 if you have the <linux/rtc.h> header file. */
296 /* #undef HAVE_LINUX_RTC_H */
298 /* Define to 1 if you have the `lutimes' function. */
299 /* #undef HAVE_LUTIMES */
301 /* Define to 1 if you have the `madvise' function. */
302 /* #undef HAVE_MADVISE */
304 /* Define to 1 if you have the <memory.h> header file. */
305 #define HAVE_MEMORY_H 1
307 /* Define to 1 if you have the `mkstemp' function. */
308 /* #undef HAVE_MKSTEMP */
310 /* Define to 1 if you have the `mmap' function. */
311 /* #undef HAVE_MMAP */
313 /* The GC can move objects. */
314 /* #undef HAVE_MOVING_COLLECTOR */
316 /* Define to 1 if you have the `mremap' function. */
317 /* #undef HAVE_MREMAP */
319 /* Have MSG_NOSIGNAL */
320 /* #undef HAVE_MSG_NOSIGNAL */
322 /* Define to 1 if you have the <netdb.h> header file. */
323 /* #undef HAVE_NETDB_H */
325 /* Define to 1 if you have the <net/if.h> header file. */
326 /* #undef HAVE_NET_IF_H */
329 /* #undef HAVE_NULL_GC */
331 /* Define to 1 if you have the `poll' function. */
332 /* #undef HAVE_POLL */
334 /* Define to 1 if you have the <poll.h> header file. */
335 /* #undef HAVE_POLL_H */
337 /* Define to 1 if you have the `posix_fadvise' function. */
338 /* #undef HAVE_POSIX_FADVISE */
340 /* Define to 1 if you have the `posix_fallocate' function. */
341 /* #undef HAVE_POSIX_FALLOCATE */
343 /* Define to 1 if you have the `posix_madvise' function. */
344 /* #undef HAVE_POSIX_MADVISE */
346 /* Define to 1 if you have the `pthread_attr_getstack' function. */
347 /* #undef HAVE_PTHREAD_ATTR_GETSTACK */
349 /* Define to 1 if you have the `pthread_attr_get_np' function. */
350 /* #undef HAVE_PTHREAD_ATTR_GET_NP */
352 /* Define to 1 if you have the `pthread_attr_setstacksize' function. */
353 /* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
355 /* Define to 1 if you have the `pthread_getattr_np' function. */
356 /* #undef HAVE_PTHREAD_GETATTR_NP */
358 /* Define to 1 if you have the `pthread_get_stackaddr_np' function. */
359 /* #undef HAVE_PTHREAD_GET_STACKADDR_NP */
361 /* Define to 1 if you have the `pthread_get_stacksize_np' function. */
362 /* #undef HAVE_PTHREAD_GET_STACKSIZE_NP */
364 /* Define to 1 if you have the <pthread.h> header file. */
365 /* #undef HAVE_PTHREAD_H */
367 /* Define to 1 if you have the `pthread_mutex_timedlock' function. */
368 /* #undef HAVE_PTHREAD_MUTEX_TIMEDLOCK */
370 /* Define to 1 if you have the `remap_file_pages' function. */
371 /* #undef HAVE_REMAP_FILE_PAGES */
373 /* Define to 1 if you have the `sched_setaffinity' function. */
374 /* #undef HAVE_SCHED_SETAFFINITY */
376 /* Define to 1 if you have the <semaphore.h> header file. */
377 /* #undef HAVE_SEMAPHORE_H */
379 /* Define to 1 if you have the `sendfile' function. */
380 /* #undef HAVE_SENDFILE */
382 /* Define to 1 if you have the `setdomainname' function. */
383 /* #undef HAVE_SETDOMAINNAME */
385 /* Define to 1 if you have the `sethostid' function. */
386 /* #undef HAVE_SETHOSTID */
388 /* Define to 1 if you have the `setpriority' function. */
389 /* #undef HAVE_SETPRIORITY */
391 /* Define to 1 if you have the `setresuid' function. */
392 /* #undef HAVE_SETRESUID */
394 /* Using the simple generational GC. */
395 /* #undef HAVE_SGEN_GC */
398 #define HAVE_SIGNAL 1
400 /* Define to 1 if you have the <signal.h> header file. */
401 #define HAVE_SIGNAL_H 1
404 /* #undef HAVE_SIGNBIT */
406 /* Can get interface list */
407 /* #undef HAVE_SIOCGIFCONF */
409 /* sockaddr_in6 has sin6_len */
410 /* #undef HAVE_SOCKADDR_IN6_SIN_LEN */
412 /* sockaddr_in has sin_len */
413 /* #undef HAVE_SOCKADDR_IN_SIN_LEN */
416 /* #undef HAVE_SOCKLEN_T */
419 /* #undef HAVE_SOL_IP */
422 /* #undef HAVE_SOL_IPV6 */
425 /* #undef HAVE_SOL_TCP */
427 /* Define to 1 if you have the `statfs' function. */
428 /* #undef HAVE_STATFS */
430 /* Define to 1 if you have the `statvfs' function. */
431 /* #undef HAVE_STATVFS */
433 /* Define to 1 if you have the <stdint.h> header file. */
434 /* #define HAVE_STDINT_H 1 */
436 /* Define to 1 if you have the <stdlib.h> header file. */
437 #define HAVE_STDLIB_H 1
439 /* Define to 1 if you have the `stime' function. */
440 /* #undef HAVE_STIME */
442 /* Define to 1 if you have the `strerror_r' function. */
443 /* #undef HAVE_STRERROR_R */
445 /* Define to 1 if you have the <strings.h> header file. */
446 #define HAVE_STRINGS_H 1
448 /* Define to 1 if you have the <string.h> header file. */
449 #define HAVE_STRING_H 1
451 /* Define to 1 if `d_off' is member of `struct dirent'. */
452 /* #undef HAVE_STRUCT_DIRENT_D_OFF */
454 /* Define to 1 if `d_reclen' is member of `struct dirent'. */
455 /* #undef HAVE_STRUCT_DIRENT_D_RECLEN */
457 /* Define to 1 if `d_type' is member of `struct dirent'. */
458 /* #undef HAVE_STRUCT_DIRENT_D_TYPE */
460 /* Have struct ip_mreq */
461 #define HAVE_STRUCT_IP_MREQ 1
463 /* Have struct ip_mreqn */
464 /* #undef HAVE_STRUCT_IP_MREQN */
466 /* Define to 1 if the system has the type `struct pollfd'. */
467 /* #undef HAVE_STRUCT_POLLFD */
469 /* Define to 1 if the system has the type `struct stat'. */
470 /* #undef HAVE_STRUCT_STAT */
472 /* Define to 1 if the system has the type `struct timeval'. */
473 /* #undef HAVE_STRUCT_TIMEVAL */
475 /* Define to 1 if the system has the type `struct timezone'. */
476 /* #undef HAVE_STRUCT_TIMEZONE */
478 /* Define to 1 if the system has the type `struct utimbuf'. */
479 /* #undef HAVE_STRUCT_UTIMBUF */
481 /* Define to 1 if the system has the type `suseconds_t'. */
482 /* #undef HAVE_SUSECONDS_T */
484 /* Define to 1 if you have the <syslog.h> header file. */
485 /* #undef HAVE_SYSLOG_H */
487 /* Define to 1 if you have the <sys/epoll.h> header file. */
488 /* #undef HAVE_SYS_EPOLL_H */
490 /* Define to 1 if you have the <sys/extattr.h> header file. */
491 /* #undef HAVE_SYS_EXTATTR_H */
493 /* Define to 1 if you have the <sys/filio.h> header file. */
494 /* #undef HAVE_SYS_FILIO_H */
496 /* Define to 1 if you have the <sys/ioctl.h> header file. */
497 /* #undef HAVE_SYS_IOCTL_H */
499 /* Define to 1 if you have the <sys/mkdev.h> header file. */
500 /* #undef HAVE_SYS_MKDEV_H */
502 /* Define to 1 if you have the <sys/mman.h> header file. */
503 /* #undef HAVE_SYS_MMAN_H */
505 /* Define to 1 if you have the <sys/param.h> header file. */
506 /* #undef HAVE_SYS_PARAM_H */
508 /* Define to 1 if you have the <sys/poll.h> header file. */
509 /* #undef HAVE_SYS_POLL_H */
511 /* Define to 1 if you have the <sys/sdt.h> header file. */
512 /* #undef HAVE_SYS_SDT_H */
514 /* Define to 1 if you have the <sys/sendfile.h> header file. */
515 /* #undef HAVE_SYS_SENDFILE_H */
517 /* Define to 1 if you have the <sys/sockio.h> header file. */
518 /* #undef HAVE_SYS_SOCKIO_H */
520 /* Define to 1 if you have the <sys/statvfs.h> header file. */
521 /* #undef HAVE_SYS_STATVFS_H */
523 /* Define to 1 if you have the <sys/stat.h> header file. */
524 #define HAVE_SYS_STAT_H 1
526 /* Define to 1 if you have the <sys/syscall.h> header file. */
527 /* #undef HAVE_SYS_SYSCALL_H */
529 /* Define to 1 if you have the <sys/time.h> header file. */
530 /* #undef HAVE_SYS_TIME_H */
532 /* Define to 1 if you have the <sys/types.h> header file. */
533 #define HAVE_SYS_TYPES_H 1
535 /* Define to 1 if you have the <sys/un.h> header file. */
536 /* #undef HAVE_SYS_UN_H */
538 /* Define to 1 if you have the <sys/utime.h> header file. */
539 #define HAVE_SYS_UTIME_H 1
541 /* Define to 1 if you have the <sys/vfstab.h> header file. */
542 /* #undef HAVE_SYS_VFSTAB_H */
544 /* Define to 1 if you have the <sys/wait.h> header file. */
545 /* #undef HAVE_SYS_WAIT_H */
547 /* Define to 1 if you have the <sys/xattr.h> header file. */
548 /* #undef HAVE_SYS_XATTR_H */
550 /* Define to 1 if you have the <termios.h> header file. */
551 /* #undef HAVE_TERMIOS_H */
553 /* Define to 1 if you have the <term.h> header file. */
554 /* #undef HAVE_TERM_H */
556 /* Have timezone variable */
557 /* #undef HAVE_TIMEZONE */
559 /* tld_model available */
560 /* #undef HAVE_TLS_MODEL_ATTR */
563 /* #undef HAVE_TM_GMTOFF */
565 /* Define to 1 if you have the `trunc' function. */
568 /* Define to 1 if you have the `ttyname_r' function. */
569 /* #undef HAVE_TTYNAME_R */
571 /* Define to 1 if you have the <unistd.h> header file. */
572 /* #define HAVE_UNISTD_H 1 */
574 /* Define to 1 if you have the <utime.h> header file. */
575 /* #define HAVE_UTIME_H 1 */
577 /* Define to 1 if you have the <valgrind/memcheck.h> header file. */
578 /* #undef HAVE_VALGRIND_MEMCHECK_H */
580 /* Support for the visibility ("hidden") attribute */
581 /* #define HAVE_VISIBILITY_HIDDEN 1 */
583 /* Define to 1 if you have the `vsnprintf' function. */
584 /* #undef HAVE_VSNPRINTF */
586 /* Define to 1 if you have the <wchar.h> header file. */
587 #define HAVE_WCHAR_H 1
589 /* Define to 1 if you have IPv6 support. */
590 #define HAVE_STRUCT_SOCKADDR_IN6 1
592 /* Have a working sigaltstack */
593 /* #undef HAVE_WORKING_SIGALTSTACK */
595 /* The GC needs write barriers. */
596 /* #undef HAVE_WRITE_BARRIERS */
598 /* Have system zlib */
599 /* #define HAVE_ZLIB 1 */
601 /* Architecture uses registers for Parameters */
602 /* #undef MONO_ARCH_REGPARMS */
604 /* Enable the allocation and indexing of arrays greater than Int32.MaxValue */
605 /* #undef MONO_BIG_ARRAYS */
607 /* Xen-specific behaviour */
608 /* #define MONO_XEN_OPT 1 */
610 /* Length of zero length arrays */
611 #define MONO_ZERO_LEN_ARRAY 1
613 /* Name of /dev/random */
614 #define NAME_DEV_RANDOM ""
616 /* Define if Unix sockets cannot be created in an anonymous namespace */
617 /* #undef NEED_LINK_UNLINK */
619 /* Name of package */
620 #define PACKAGE "mono"
622 /* Define to the address where bug reports for this package should be sent. */
623 #define PACKAGE_BUGREPORT "Hans_Boehm@hp.com"
625 /* Define to the full name of this package. */
626 #define PACKAGE_NAME "libgc-mono"
628 /* Define to the full name and version of this package. */
629 #define PACKAGE_STRING "libgc-mono 6.6"
631 /* Define to the one symbol short name of this package. */
632 #define PACKAGE_TARNAME "libgc-mono"
634 /* Define to the version of this package. */
635 #define PACKAGE_VERSION "6.6"
637 /* Platform is Win32 */
639 #define TARGET_WIN32 1
642 #define TARGET_AMD64 1
647 /* pthread_t is a pointer */
648 /* #undef PTHREAD_POINTER_ID */
650 /* The size of `size_t', as computed by sizeof. */
651 /* #undef SIZEOF_SIZE_T */
653 /* The size of a `void *', as computed by sizeof. */
655 #define SIZEOF_VOID_P 8
657 #define SIZEOF_VOID_P 4
660 #define SIZEOF_REGISTER SIZEOF_VOID_P
662 /* Define to 1 if you have the ANSI C header files. */
663 #define STDC_HEADERS 1
665 /* Use included libgc */
666 /* #define USE_INCLUDED_LIBGC 1 */
668 #define DEFAULT_GC_NAME "Included Boehm (with typed GC)"
671 /* #undef USE_MACH_SEMA */
673 /* Use mono_mutex_t */
674 /* #undef USE_MONO_MUTEX */
676 /* Version number of package */
677 #define VERSION "#MONO_VERSION#"
679 /* Version of the corlib-runtime interface */
680 #define MONO_CORLIB_VERSION #MONO_CORLIB_VERSION#