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