Strengthen the type of mono_gc_get_range_copy_func -- return a typed function pointer...
[mono-project.git] / winconfig.h
blob178fb008947c768bc4602e9c8698ae116d5f1836
1 #pragma once
3 #ifndef _MSC_VER
4 #include "cygconfig.h"
5 #else
7 /* The architecture this is running on */
8 #if defined(_M_IA64)
9 #define MONO_ARCHITECTURE "ia64"
10 #elif defined(_M_AMD64)
11 #define MONO_ARCHITECTURE "amd64"
12 #elif defined(_M_IX86)
13 #define MONO_ARCHITECTURE "x86"
14 #else
15 #error Unknown architecture
16 #endif
18 #ifndef WINVER
19 #define WINVER 0x0A00
20 #endif
22 #include <SDKDDKVer.h>
24 #if _WIN32_WINNT < 0x0601
25 #error "Mono requires Windows 7 or later."
26 #endif /* _WIN32_WINNT < 0x0601 */
28 #ifndef HAVE_WINAPI_FAMILY_SUPPORT
30 #define HAVE_WINAPI_FAMILY_SUPPORT
32 /* WIN API Family support */
33 #include <winapifamily.h>
35 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
36 #define HAVE_CLASSIC_WINAPI_SUPPORT 1
37 #define HAVE_UWP_WINAPI_SUPPORT 0
38 #elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
39 #define HAVE_CLASSIC_WINAPI_SUPPORT 0
40 #define HAVE_UWP_WINAPI_SUPPORT 1
41 #ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
42 #error Unsupported WINAPI family
43 #endif
44 #else
45 #define HAVE_CLASSIC_WINAPI_SUPPORT 0
46 #define HAVE_UWP_WINAPI_SUPPORT 0
47 #ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
48 #error Unsupported WINAPI family
49 #endif
50 #endif
52 #endif
55 * Features that are not required in the Windows port
57 #define DISABLE_PORTABILITY 1
59 /* Windows does not have symlinks */
60 #define HOST_NO_SYMLINKS 1
62 /* String of disabled features */
63 #define DISABLED_FEATURES "none"
65 /* Disable AOT support */
66 /* #undef DISABLE_AOT */
68 /* Disable COM support */
69 /* #undef DISABLE_COM */
71 /* Disable runtime debugging support */
72 /* #undef DISABLE_DEBUG */
74 /* Disable System.Decimal support */
75 /* #undef DISABLE_DECIMAL */
77 /* Disable generics support */
78 /* #undef DISABLE_GENERICS */
80 /* Disable support for huge assemblies */
81 /* #undef DISABLE_LARGE_CODE */
83 /* Disable support debug logging */
84 /* #undef DISABLE_LOGGING */
86 /* Disable runtime state dumping */
87 #define DISABLE_CRASH_REPORTING 1
89 /* Disable P/Invoke support */
90 /* #undef DISABLE_PINVOKE */
92 /* Disable default profiler support */
93 /* #undef DISABLE_PROFILER */
95 /* Disable reflection emit support */
96 /* #undef DISABLE_REFLECTION_EMIT */
98 /* Disable advanced SSA JIT optimizations */
99 /* #undef DISABLE_SSA */
101 /* Disable interpreter */
102 /* #undef DISABLE_INTERPRETER */
104 /* Some VES is available at runtime */
105 #define ENABLE_ILGEN 1
107 /* Enable DTrace probes */
108 /* #undef ENABLE_DTRACE */
110 /* Has the 'aintl' function */
111 /* #undef HAVE_AINTL */
113 /* Supports C99 array initialization */
114 /* #undef HAVE_ARRAY_ELEM_INIT */
116 /* Define to 1 if you have the <attr/xattr.h> header file. */
117 /* #undef HAVE_ATTR_XATTR_H */
119 /* Define to 1 if you have the `backtrace_symbols' function. */
120 /* #undef HAVE_BACKTRACE_SYMBOLS */
122 /* Define to 1 if the system has the type `blkcnt_t'. */
123 /* #undef HAVE_BLKCNT_T */
125 /* Define to 1 if the system has the type `blksize_t'. */
126 /* #undef HAVE_BLKSIZE_T */
128 /* Have Boehm GC */
129 /* #define HAVE_BOEHM_GC 1 */
131 /* Define to 1 if you have the <checklist.h> header file. */
132 /* #undef HAVE_CHECKLIST_H */
134 /* Define to 1 if you have the <complex.h> header file. */
135 #define HAVE_COMPLEX_H 1
137 /* Define to 1 if you have the `system' function. */
138 #if HAVE_WINAPI_FAMILY_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
139 #define HAVE_SYSTEM 1
140 #endif
143 /* Have /dev/random */
144 #define HAVE_CRYPT_RNG 1
146 /* Define to 1 if you have the <curses.h> header file. */
147 /* #undef HAVE_CURSES_H */
149 /* Define to 1 if you have the declaration of `InterlockedAdd',
150 and to 0 if you don't. */
151 #define HAVE_DECL_INTERLOCKEDADD 1
153 /* Define to 1 if you have the declaration of `InterlockedAdd64',
154 and to 0 if you don't. */
155 #define HAVE_DECL_INTERLOCKEDADD64 1
157 /* Define to 1 if you have the declaration of `InterlockedCompareExchange64',
158 and to 0 if you don't. */
159 #define HAVE_DECL_INTERLOCKEDCOMPAREEXCHANGE64 1
161 /* Define to 1 if you have the declaration of `InterlockedDecrement64',
162 and to 0 if you don't. */
163 #define HAVE_DECL_INTERLOCKEDDECREMENT64 1
165 /* Define to 1 if you have the declaration of `InterlockedExchange64',
166 and to 0 if you don't. */
167 #define HAVE_DECL_INTERLOCKEDEXCHANGE64 1
169 /* Define to 1 if you have the declaration of `InterlockedIncrement64',
170 and to 0 if you don't. */
171 #define HAVE_DECL_INTERLOCKEDINCREMENT64 1
173 /* Define to 1 if you have the declaration of `__readfsdword',
174 and to 0 if you don't. */
175 #define HAVE_DECL___READFSDWORD 1
177 /* Define to 1 if you have the <dirent.h> header file. */
178 /* #define HAVE_DIRENT_H 1 */
180 /* Define to 1 if you have the <dlfcn.h> header file. */
181 /* #undef HAVE_DLFCN_H */
183 /* dlopen-based dynamic loader available */
184 /* #undef HAVE_DL_LOADER */
186 /* Define to 1 if you have the <elf.h> header file. */
187 /* #undef HAVE_ELF_H */
189 /* epoll supported */
190 /* #undef HAVE_EPOLL */
192 /* Define to 1 if you have the `epoll_ctl' function. */
193 /* #undef HAVE_EPOLL_CTL */
195 /* Define to 1 if you have the <execinfo.h> header file. */
196 /* #undef HAVE_EXECINFO_H */
198 /* Define to 1 if you have the `fgetgrent' function. */
199 /* #undef HAVE_FGETGRENT */
201 /* Define to 1 if you have the `fgetpwent' function. */
202 /* #undef HAVE_FGETPWENT */
204 /* Define to 1 if you have the `finite' function. */
205 /* #undef HAVE_FINITE */
207 /* Define to 1 if you have the <fstab.h> header file. */
208 /* #undef HAVE_FSTAB_H */
210 /* Define to 1 if you have the `fstatfs' function. */
211 /* #undef HAVE_FSTATFS */
213 /* Define to 1 if you have the `fstatvfs' function. */
214 /* #undef HAVE_FSTATVFS */
216 /* Define to 1 if you have the `getaddrinfo' function. */
217 #define HAVE_GETADDRINFO 1
219 /* Define to 1 if you have the `getnameinfo' function. */
220 #define HAVE_GETNAMEINFO 1
222 /* Define to 1 if you have the `getprotobyname' function. */
223 #define HAVE_GETPROTOBYNAME 1
225 /* Define to 1 if you have the `getdomainname' function. */
226 /* #undef HAVE_GETDOMAINNAME */
228 /* Define to 1 if you have the `getfsstat' function. */
229 /* #undef HAVE_GETFSSTAT */
231 /* Define to 1 if you have the `getgrgid_r' function. */
232 /* #undef HAVE_GETGRGID_R */
234 /* Define to 1 if you have the `getgrnam_r' function. */
235 /* #undef HAVE_GETGRNAM_R */
237 /* Have gethostbyname2_r */
238 /* #undef HAVE_GETHOSTBYNAME2_R */
240 /* Define to 1 if you have the `getpriority' function. */
241 /* #undef HAVE_GETPRIORITY */
243 /* Define to 1 if you have the `GetProcessId' function. */
244 #define HAVE_GETPROCESSID 1
246 /* Define to 1 if you have the `getpwnam_r' function. */
247 /* #undef HAVE_GETPWNAM_R */
249 /* Define to 1 if you have the `getpwuid_r' function. */
250 /* #undef HAVE_GETPWUID_R */
252 /* Define to 1 if you have the `getresuid' function. */
253 /* #undef HAVE_GETRESUID */
255 /* Define to 1 if you have the `getrusage' function. */
256 /* #undef HAVE_GETRUSAGE */
258 /* Define to 1 if you have the <grp.h> header file. */
259 /* #undef HAVE_GRP_H */
261 /* Define to 1 if you have the <ieeefp.h> header file. */
262 /* #undef HAVE_IEEEFP_H */
264 /* Define to 1 if you have the `inet_aton' function. */
265 /* #undef HAVE_INET_ATON */
267 /* Define to 1 if you have the `inet_pton' function. */
268 #define HAVE_INET_PTON 1
270 /* Define to 1 if you have the <inttypes.h> header file. */
271 #define HAVE_INTTYPES_H 1
273 /* Have IPV6_PKTINFO */
274 /* #undef HAVE_IPV6_PKTINFO */
276 /* Have IP_DONTFRAGMENT */
277 /* #undef HAVE_IP_DONTFRAGMENT */
279 /* Have IP_MTU_DISCOVER */
280 /* #undef HAVE_IP_MTU_DISCOVER */
282 /* Have IP_PKTINFO */
283 /* #undef HAVE_IP_PKTINFO */
285 /* Define to 1 if you have the `isfinite' function. */
286 /* #undef HAVE_ISFINITE */
288 /* isinf available */
289 #define HAVE_ISINF 1
291 /* Define to 1 if you have the `kqueue' function. */
292 /* #undef HAVE_KQUEUE */
294 /* Have __thread keyword */
295 #ifdef _MSC_VER
296 #define MONO_KEYWORD_THREAD __declspec (thread)
297 #else
298 #define MONO_KEYWORD_THREAD __thread
299 #endif
301 /* Have large file support */
302 /* #undef HAVE_LARGE_FILE_SUPPORT */
304 /* Define to 1 if you have the `unwind' library (-lunwind). */
305 /* #undef HAVE_LIBUNWIND */
307 /* Define to 1 if you have the <linux/rtc.h> header file. */
308 /* #undef HAVE_LINUX_RTC_H */
310 /* Define to 1 if you have the `lutimes' function. */
311 /* #undef HAVE_LUTIMES */
313 /* Define to 1 if you have the `madvise' function. */
314 /* #undef HAVE_MADVISE */
316 /* Define to 1 if you have the <memory.h> header file. */
317 #define HAVE_MEMORY_H 1
319 /* Define to 1 if you have the `mkstemp' function. */
320 /* #undef HAVE_MKSTEMP */
322 /* Define to 1 if you have the `mmap' function. */
323 /* #undef HAVE_MMAP */
325 /* The GC can move objects. */
326 /* #undef HAVE_MOVING_COLLECTOR */
328 /* Define to 1 if you have the `mremap' function. */
329 /* #undef HAVE_MREMAP */
331 /* Have MSG_NOSIGNAL */
332 /* #undef HAVE_MSG_NOSIGNAL */
334 /* Define to 1 if you have the <netdb.h> header file. */
335 /* #undef HAVE_NETDB_H */
337 /* Define to 1 if you have the <net/if.h> header file. */
338 /* #undef HAVE_NET_IF_H */
340 /* No GC support. */
341 /* #undef HAVE_NULL_GC */
343 /* Define to 1 if you have the `poll' function. */
344 /* #undef HAVE_POLL */
346 /* Define to 1 if you have the <poll.h> header file. */
347 /* #undef HAVE_POLL_H */
349 /* Define to 1 if you have the `posix_fadvise' function. */
350 /* #undef HAVE_POSIX_FADVISE */
352 /* Define to 1 if you have the `posix_fallocate' function. */
353 /* #undef HAVE_POSIX_FALLOCATE */
355 /* Define to 1 if you have the `posix_madvise' function. */
356 /* #undef HAVE_POSIX_MADVISE */
358 /* Define to 1 if you have the `pthread_attr_getstack' function. */
359 /* #undef HAVE_PTHREAD_ATTR_GETSTACK */
361 /* Define to 1 if you have the `pthread_attr_get_np' function. */
362 /* #undef HAVE_PTHREAD_ATTR_GET_NP */
364 /* Define to 1 if you have the `pthread_attr_setstacksize' function. */
365 /* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
367 /* Define to 1 if you have the `pthread_getattr_np' function. */
368 /* #undef HAVE_PTHREAD_GETATTR_NP */
370 /* Define to 1 if you have the `pthread_get_stackaddr_np' function. */
371 /* #undef HAVE_PTHREAD_GET_STACKADDR_NP */
373 /* Define to 1 if you have the `pthread_get_stacksize_np' function. */
374 /* #undef HAVE_PTHREAD_GET_STACKSIZE_NP */
376 /* Define to 1 if you have the <pthread.h> header file. */
377 /* #undef HAVE_PTHREAD_H */
379 /* Define to 1 if you have the `pthread_mutex_timedlock' function. */
380 /* #undef HAVE_PTHREAD_MUTEX_TIMEDLOCK */
382 /* Define to 1 if you have the `remap_file_pages' function. */
383 /* #undef HAVE_REMAP_FILE_PAGES */
385 /* Define to 1 if you have the `sched_setaffinity' function. */
386 /* #undef HAVE_SCHED_SETAFFINITY */
388 /* Define to 1 if you have the <semaphore.h> header file. */
389 /* #undef HAVE_SEMAPHORE_H */
391 /* Define to 1 if you have the `sendfile' function. */
392 /* #undef HAVE_SENDFILE */
394 /* Define to 1 if you have the `setdomainname' function. */
395 /* #undef HAVE_SETDOMAINNAME */
397 /* Define to 1 if you have the `sethostid' function. */
398 /* #undef HAVE_SETHOSTID */
400 /* Define to 1 if you have the `setpriority' function. */
401 /* #undef HAVE_SETPRIORITY */
403 /* Define to 1 if you have the `setresuid' function. */
404 /* #undef HAVE_SETRESUID */
406 /* Using the simple generational GC. */
407 /* #undef HAVE_SGEN_GC */
409 /* Have signal */
410 #define HAVE_SIGNAL 1
412 /* Define to 1 if you have the <signal.h> header file. */
413 #define HAVE_SIGNAL_H 1
415 /* Have signbit */
416 /* #undef HAVE_SIGNBIT */
418 /* Can get interface list */
419 /* #undef HAVE_SIOCGIFCONF */
421 /* sockaddr_in6 has sin6_len */
422 /* #undef HAVE_SOCKADDR_IN6_SIN_LEN */
424 /* sockaddr_in has sin_len */
425 /* #undef HAVE_SOCKADDR_IN_SIN_LEN */
427 /* Have socklen_t */
428 /* #undef HAVE_SOCKLEN_T */
430 /* Have SOL_IP */
431 /* #undef HAVE_SOL_IP */
433 /* Have SOL_IPV6 */
434 /* #undef HAVE_SOL_IPV6 */
436 /* Have SOL_TCP */
437 /* #undef HAVE_SOL_TCP */
439 /* Define to 1 if you have the `statfs' function. */
440 /* #undef HAVE_STATFS */
442 /* Define to 1 if you have the `statvfs' function. */
443 /* #undef HAVE_STATVFS */
445 /* Define to 1 if you have the <stdint.h> header file. */
446 /* #define HAVE_STDINT_H 1 */
448 /* Define to 1 if you have the <stdlib.h> header file. */
449 #define HAVE_STDLIB_H 1
451 /* Define to 1 if you have the `stime' function. */
452 /* #undef HAVE_STIME */
454 /* Define to 1 if you have the `strerror_r' function. */
455 /* #undef HAVE_STRERROR_R */
457 /* Define to 1 if you have the <strings.h> header file. */
458 #define HAVE_STRINGS_H 1
460 /* Define to 1 if you have the <string.h> header file. */
461 #define HAVE_STRING_H 1
463 /* Define to 1 if `d_off' is member of `struct dirent'. */
464 /* #undef HAVE_STRUCT_DIRENT_D_OFF */
466 /* Define to 1 if `d_reclen' is member of `struct dirent'. */
467 /* #undef HAVE_STRUCT_DIRENT_D_RECLEN */
469 /* Define to 1 if `d_type' is member of `struct dirent'. */
470 /* #undef HAVE_STRUCT_DIRENT_D_TYPE */
472 /* Have struct ip_mreq */
473 #define HAVE_STRUCT_IP_MREQ 1
475 /* Have struct ip_mreqn */
476 /* #undef HAVE_STRUCT_IP_MREQN */
478 /* Define to 1 if the system has the type `struct pollfd'. */
479 /* #undef HAVE_STRUCT_POLLFD */
481 /* Define to 1 if the system has the type `struct stat'. */
482 /* #undef HAVE_STRUCT_STAT */
484 /* Define to 1 if the system has the type `struct timeval'. */
485 /* #undef HAVE_STRUCT_TIMEVAL */
487 /* Define to 1 if the system has the type `struct timezone'. */
488 /* #undef HAVE_STRUCT_TIMEZONE */
490 /* Define to 1 if the system has the type `struct utimbuf'. */
491 /* #undef HAVE_STRUCT_UTIMBUF */
493 /* Define to 1 if the system has the type `suseconds_t'. */
494 /* #undef HAVE_SUSECONDS_T */
496 /* Define to 1 if you have the <syslog.h> header file. */
497 /* #undef HAVE_SYSLOG_H */
499 /* Define to 1 if you have the <sys/epoll.h> header file. */
500 /* #undef HAVE_SYS_EPOLL_H */
502 /* Define to 1 if you have the <sys/extattr.h> header file. */
503 /* #undef HAVE_SYS_EXTATTR_H */
505 /* Define to 1 if you have the <sys/filio.h> header file. */
506 /* #undef HAVE_SYS_FILIO_H */
508 /* Define to 1 if you have the <sys/ioctl.h> header file. */
509 /* #undef HAVE_SYS_IOCTL_H */
511 /* Define to 1 if you have the <sys/mkdev.h> header file. */
512 /* #undef HAVE_SYS_MKDEV_H */
514 /* Define to 1 if you have the <sys/mman.h> header file. */
515 /* #undef HAVE_SYS_MMAN_H */
517 /* Define to 1 if you have the <sys/param.h> header file. */
518 /* #undef HAVE_SYS_PARAM_H */
520 /* Define to 1 if you have the <sys/poll.h> header file. */
521 /* #undef HAVE_SYS_POLL_H */
523 /* Define to 1 if you have the <sys/sdt.h> header file. */
524 /* #undef HAVE_SYS_SDT_H */
526 /* Define to 1 if you have the <sys/sendfile.h> header file. */
527 /* #undef HAVE_SYS_SENDFILE_H */
529 /* Define to 1 if you have the <sys/sockio.h> header file. */
530 /* #undef HAVE_SYS_SOCKIO_H */
532 /* Define to 1 if you have the <sys/statvfs.h> header file. */
533 /* #undef HAVE_SYS_STATVFS_H */
535 /* Define to 1 if you have the <sys/stat.h> header file. */
536 #define HAVE_SYS_STAT_H 1
538 /* Define to 1 if you have the <sys/syscall.h> header file. */
539 /* #undef HAVE_SYS_SYSCALL_H */
541 /* Define to 1 if you have the <sys/time.h> header file. */
542 /* #undef HAVE_SYS_TIME_H */
544 /* Define to 1 if you have the <sys/types.h> header file. */
545 #define HAVE_SYS_TYPES_H 1
547 /* Define to 1 if you have the <sys/un.h> header file. */
548 /* #undef HAVE_SYS_UN_H */
550 /* Define to 1 if you have the <sys/utime.h> header file. */
551 #define HAVE_SYS_UTIME_H 1
553 /* Define to 1 if you have the <sys/vfstab.h> header file. */
554 /* #undef HAVE_SYS_VFSTAB_H */
556 /* Define to 1 if you have the <sys/wait.h> header file. */
557 /* #undef HAVE_SYS_WAIT_H */
559 /* Define to 1 if you have the <sys/xattr.h> header file. */
560 /* #undef HAVE_SYS_XATTR_H */
562 /* Define to 1 if you have the <termios.h> header file. */
563 /* #undef HAVE_TERMIOS_H */
565 /* Define to 1 if you have the <term.h> header file. */
566 /* #undef HAVE_TERM_H */
568 /* Have timezone variable */
569 /* #undef HAVE_TIMEZONE */
571 /* tld_model available */
572 /* #undef HAVE_TLS_MODEL_ATTR */
574 /* Have tm_gmtoff */
575 /* #undef HAVE_TM_GMTOFF */
577 /* Define to 1 if you have the `trunc' function. */
578 #define HAVE_TRUNC 1
580 /* Define to 1 if you have the `ttyname_r' function. */
581 /* #undef HAVE_TTYNAME_R */
583 /* Define to 1 if you have the <unistd.h> header file. */
584 /* #define HAVE_UNISTD_H 1 */
586 /* Define to 1 if you have the <utime.h> header file. */
587 /* #define HAVE_UTIME_H 1 */
589 /* Define to 1 if you have the <valgrind/memcheck.h> header file. */
590 /* #undef HAVE_VALGRIND_MEMCHECK_H */
592 /* Support for the visibility ("hidden") attribute */
593 /* #define HAVE_VISIBILITY_HIDDEN 1 */
595 /* Define to 1 if you have the `vsnprintf' function. */
596 /* #undef HAVE_VSNPRINTF */
598 /* Define to 1 if you have the <wchar.h> header file. */
599 #define HAVE_WCHAR_H 1
601 /* Define to 1 if you have IPv6 support. */
602 #define HAVE_STRUCT_SOCKADDR_IN6 1
604 /* Defined as strtok_s in eglib-config.hw */
605 #define HAVE_STRTOK_R 1
607 /* Define to 1 if you have the `access' function. */
608 #define HAVE_ACCESS 1
610 /* Have a working sigaltstack */
611 /* #undef HAVE_WORKING_SIGALTSTACK */
613 /* The GC needs write barriers. */
614 /* #undef HAVE_WRITE_BARRIERS */
616 /* Have system zlib */
617 /* #define HAVE_ZLIB 1 */
619 /* Architecture uses registers for Parameters */
620 /* #undef MONO_ARCH_REGPARMS */
622 /* Enable the allocation and indexing of arrays greater than Int32.MaxValue */
623 /* #undef MONO_BIG_ARRAYS */
625 /* Xen-specific behaviour */
626 /* #define MONO_XEN_OPT 1 */
628 /* Length of zero length arrays */
629 #define MONO_ZERO_LEN_ARRAY 1
631 /* Name of /dev/random */
632 #define NAME_DEV_RANDOM ""
634 /* Define if Unix sockets cannot be created in an anonymous namespace */
635 /* #undef NEED_LINK_UNLINK */
637 /* Name of package */
638 #define PACKAGE "mono"
640 /* Define to the address where bug reports for this package should be sent. */
641 #define PACKAGE_BUGREPORT "Hans_Boehm@hp.com"
643 /* Define to the full name of this package. */
644 #define PACKAGE_NAME "libgc-mono"
646 /* Define to the full name and version of this package. */
647 #define PACKAGE_STRING "libgc-mono 6.6"
649 /* Define to the one symbol short name of this package. */
650 #define PACKAGE_TARNAME "libgc-mono"
652 /* Define to the version of this package. */
653 #define PACKAGE_VERSION "6.6"
655 /* Platform is Win32 */
656 #define HOST_WIN32 1
657 #define TARGET_WIN32 1
659 #ifdef _WIN64
660 #define TARGET_AMD64 1
661 #else
662 #define TARGET_X86 1
663 #endif
665 /* pthread_t is a pointer */
666 /* #undef PTHREAD_POINTER_ID */
668 /* The size of `size_t', as computed by sizeof. */
669 /* #undef SIZEOF_SIZE_T */
671 /* The size of a `void *', as computed by sizeof. */
672 #ifdef _WIN64
673 #define SIZEOF_VOID_P 8
674 #define TARGET_SIZEOF_VOID_P 8
675 #else
676 #define SIZEOF_VOID_P 4
677 #define TARGET_SIZEOF_VOID_P 4
678 #endif
680 #define SIZEOF_REGISTER SIZEOF_VOID_P
682 /* Define to 1 if you have the ANSI C header files. */
683 #define STDC_HEADERS 1
685 /* Use included libgc */
686 /* #define USE_INCLUDED_LIBGC 1 */
688 #define DEFAULT_GC_NAME "Included Boehm (with typed GC)"
690 /* ... */
691 /* #undef USE_MACH_SEMA */
693 /* Use mono_mutex_t */
694 /* #undef USE_MONO_MUTEX */
696 #ifdef ENABLE_LLVM
697 #define ENABLE_LLVM 1
698 #define ENABLE_LLVM_RUNTIME 1
699 #define LLVM_VERSION "3.6.0svn-mono-"
700 #define LLVM_API_VERSION 4
701 #endif
703 /* Version number of package */
704 #define VERSION "#MONO_VERSION#"
706 /* Version of the corlib-runtime interface */
707 #define MONO_CORLIB_VERSION #MONO_CORLIB_VERSION#
709 #endif
711 #ifdef _MSC_VER
712 // FIXME This is all questionable but the logs are flooded and nothing else is fixing them.
713 #define _CRT_SECURE_NO_WARNINGS 1
714 #pragma warning(disable:4013) // function undefined; assuming extern returning int
715 #pragma warning(disable:4018) // signed/unsigned mismatch
716 #pragma warning(disable:4022) // call and prototype disagree
717 #pragma warning(disable:4047) // call and prototype disagree
718 #pragma warning(disable:4090) // const problem
719 #pragma warning(disable:4098) // void return returns a value
720 #pragma warning(disable:4101) // unreferenced local variable
721 #pragma warning(disable:4113) // call and prototype disagree
722 #pragma warning(disable:4146) // unary minus operator applied to unsigned type, result still unsigned
723 #pragma warning(disable:4172) // returning address of local variable or temporary
724 #pragma warning(disable:4189) // local variable is initialized but not referenced
725 #pragma warning(disable:4197) // top-level volatile in cast is ignored
726 #pragma warning(disable:4244) // integer conversion, possible loss of data
727 #pragma warning(disable:4245) // signed/unsigned mismatch
728 #pragma warning(disable:4267) // integer conversion, possible loss of data
729 #pragma warning(disable:4273) // inconsistent dll linkage
730 #pragma warning(disable:4293) // shift count negative or too big, undefined behavior
731 #pragma warning(disable:4305) // truncation from 'double' to 'float'
732 #pragma warning(disable:4312) // 'type cast': conversion from 'MonoNativeThreadId' to 'gpointer' of greater size
733 #pragma warning(disable:4389) // signed/unsigned mismatch
734 #pragma warning(disable:4456) // declaration of 'j' hides previous local declaration
735 #pragma warning(disable:4457) // declaration of 'text' hides function parameter
736 #pragma warning(disable:4702) // unreachable code
737 #pragma warning(disable:4706) // assignment within conditional expression
738 #pragma warning(disable:4715) // 'keyword' not all control paths return a value
739 #pragma warning(disable:4996) // deprecated function GetVersion GetVersionExW fopen inet_addr mktemp sprintf strcat strcpy strtok unlink etc.
740 #endif