[ppc] use G_BYTE_ORDER in order to define patch_load_sequence
[mono-project.git] / winconfig.h
blobaa2dd17f7cc1504a27498fde92218aa7e5077327
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 /* Define to 1 if you have the <attr/xattr.h> header file. */
111 /* #undef HAVE_ATTR_XATTR_H */
113 /* Define to 1 if you have the `backtrace_symbols' function. */
114 /* #undef HAVE_BACKTRACE_SYMBOLS */
116 /* Define to 1 if the system has the type `blkcnt_t'. */
117 /* #undef HAVE_BLKCNT_T */
119 /* Define to 1 if the system has the type `blksize_t'. */
120 /* #undef HAVE_BLKSIZE_T */
122 /* Have Boehm GC */
123 /* #define HAVE_BOEHM_GC 1 */
125 /* Define to 1 if you have the <checklist.h> header file. */
126 /* #undef HAVE_CHECKLIST_H */
128 /* Define to 1 if you have the <complex.h> header file. */
129 #define HAVE_COMPLEX_H 1
131 /* Define to 1 if you have the `system' function. */
132 #if HAVE_WINAPI_FAMILY_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
133 #define HAVE_SYSTEM 1
134 #endif
137 /* Have /dev/random */
138 #define HAVE_CRYPT_RNG 1
140 /* Define to 1 if you have the <curses.h> header file. */
141 /* #undef HAVE_CURSES_H */
143 /* Define to 1 if you have the declaration of `InterlockedAdd',
144 and to 0 if you don't. */
145 #define HAVE_DECL_INTERLOCKEDADD 1
147 /* Define to 1 if you have the declaration of `InterlockedAdd64',
148 and to 0 if you don't. */
149 #define HAVE_DECL_INTERLOCKEDADD64 1
151 /* Define to 1 if you have the declaration of `InterlockedCompareExchange64',
152 and to 0 if you don't. */
153 #define HAVE_DECL_INTERLOCKEDCOMPAREEXCHANGE64 1
155 /* Define to 1 if you have the declaration of `InterlockedDecrement64',
156 and to 0 if you don't. */
157 #define HAVE_DECL_INTERLOCKEDDECREMENT64 1
159 /* Define to 1 if you have the declaration of `InterlockedExchange64',
160 and to 0 if you don't. */
161 #define HAVE_DECL_INTERLOCKEDEXCHANGE64 1
163 /* Define to 1 if you have the declaration of `InterlockedIncrement64',
164 and to 0 if you don't. */
165 #define HAVE_DECL_INTERLOCKEDINCREMENT64 1
167 /* Define to 1 if you have the declaration of `__readfsdword',
168 and to 0 if you don't. */
169 #define HAVE_DECL___READFSDWORD 1
171 /* Define to 1 if you have the <dirent.h> header file. */
172 /* #define HAVE_DIRENT_H 1 */
174 /* Define to 1 if you have the <dlfcn.h> header file. */
175 /* #undef HAVE_DLFCN_H */
177 /* dlopen-based dynamic loader available */
178 /* #undef HAVE_DL_LOADER */
180 /* Define to 1 if you have the <elf.h> header file. */
181 /* #undef HAVE_ELF_H */
183 /* epoll supported */
184 /* #undef HAVE_EPOLL */
186 /* Define to 1 if you have the `epoll_ctl' function. */
187 /* #undef HAVE_EPOLL_CTL */
189 /* Define to 1 if you have the <execinfo.h> header file. */
190 /* #undef HAVE_EXECINFO_H */
192 /* Define to 1 if you have the `fgetgrent' function. */
193 /* #undef HAVE_FGETGRENT */
195 /* Define to 1 if you have the `fgetpwent' function. */
196 /* #undef HAVE_FGETPWENT */
198 /* Define to 1 if you have the <fstab.h> header file. */
199 /* #undef HAVE_FSTAB_H */
201 /* Define to 1 if you have the `fstatfs' function. */
202 /* #undef HAVE_FSTATFS */
204 /* Define to 1 if you have the `fstatvfs' function. */
205 /* #undef HAVE_FSTATVFS */
207 /* Define to 1 if you have the `getaddrinfo' function. */
208 #define HAVE_GETADDRINFO 1
210 /* Define to 1 if you have the `getnameinfo' function. */
211 #define HAVE_GETNAMEINFO 1
213 /* Define to 1 if you have the `getprotobyname' function. */
214 #define HAVE_GETPROTOBYNAME 1
216 /* Define to 1 if you have the `getdomainname' function. */
217 /* #undef HAVE_GETDOMAINNAME */
219 /* Define to 1 if you have the `getfsstat' function. */
220 /* #undef HAVE_GETFSSTAT */
222 /* Define to 1 if you have the `getgrgid_r' function. */
223 /* #undef HAVE_GETGRGID_R */
225 /* Define to 1 if you have the `getgrnam_r' function. */
226 /* #undef HAVE_GETGRNAM_R */
228 /* Have gethostbyname2_r */
229 /* #undef HAVE_GETHOSTBYNAME2_R */
231 /* Define to 1 if you have the `getpriority' function. */
232 /* #undef HAVE_GETPRIORITY */
234 /* Define to 1 if you have the `GetProcessId' function. */
235 #define HAVE_GETPROCESSID 1
237 /* Define to 1 if you have the `getpwnam_r' function. */
238 /* #undef HAVE_GETPWNAM_R */
240 /* Define to 1 if you have the `getpwuid_r' function. */
241 /* #undef HAVE_GETPWUID_R */
243 /* Define to 1 if you have the `getresuid' function. */
244 /* #undef HAVE_GETRESUID */
246 /* Define to 1 if you have the `getrusage' function. */
247 /* #undef HAVE_GETRUSAGE */
249 /* Define to 1 if you have the <grp.h> header file. */
250 /* #undef HAVE_GRP_H */
252 /* Define to 1 if you have the `inet_aton' function. */
253 /* #undef HAVE_INET_ATON */
255 /* Define to 1 if you have the `inet_pton' function. */
256 #define HAVE_INET_PTON 1
258 /* Define to 1 if you have the <inttypes.h> header file. */
259 #define HAVE_INTTYPES_H 1
261 /* Have IPV6_PKTINFO */
262 /* #undef HAVE_IPV6_PKTINFO */
264 /* Have IP_DONTFRAGMENT */
265 /* #undef HAVE_IP_DONTFRAGMENT */
267 /* Have IP_MTU_DISCOVER */
268 /* #undef HAVE_IP_MTU_DISCOVER */
270 /* Have IP_PKTINFO */
271 /* #undef HAVE_IP_PKTINFO */
273 /* Define to 1 if you have the `kqueue' function. */
274 /* #undef HAVE_KQUEUE */
276 /* Have __thread keyword */
277 #ifdef _MSC_VER
278 #define MONO_KEYWORD_THREAD __declspec (thread)
279 #else
280 // Cygwin/gcc emulates __thread.
281 #undef MONO_KEYWORD_THREAD
282 #endif
284 /* Have large file support */
285 /* #undef HAVE_LARGE_FILE_SUPPORT */
287 /* Define to 1 if you have the `unwind' library (-lunwind). */
288 /* #undef HAVE_LIBUNWIND */
290 /* Define to 1 if you have the <linux/rtc.h> header file. */
291 /* #undef HAVE_LINUX_RTC_H */
293 /* Define to 1 if you have the `lutimes' function. */
294 /* #undef HAVE_LUTIMES */
296 /* Define to 1 if you have the `madvise' function. */
297 /* #undef HAVE_MADVISE */
299 /* Define to 1 if you have the <memory.h> header file. */
300 #define HAVE_MEMORY_H 1
302 /* Define to 1 if you have the `mkstemp' function. */
303 /* #undef HAVE_MKSTEMP */
305 /* Define to 1 if you have the `mmap' function. */
306 /* #undef HAVE_MMAP */
308 /* The GC can move objects. */
309 /* #undef HAVE_MOVING_COLLECTOR */
311 /* Define to 1 if you have the `mremap' function. */
312 /* #undef HAVE_MREMAP */
314 /* Have MSG_NOSIGNAL */
315 /* #undef HAVE_MSG_NOSIGNAL */
317 /* Define to 1 if you have the <netdb.h> header file. */
318 /* #undef HAVE_NETDB_H */
320 /* Define to 1 if you have the <net/if.h> header file. */
321 /* #undef HAVE_NET_IF_H */
323 /* No GC support. */
324 /* #undef HAVE_NULL_GC */
326 /* Define to 1 if you have the `poll' function. */
327 /* #undef HAVE_POLL */
329 /* Define to 1 if you have the <poll.h> header file. */
330 /* #undef HAVE_POLL_H */
332 /* Define to 1 if you have the `posix_fadvise' function. */
333 /* #undef HAVE_POSIX_FADVISE */
335 /* Define to 1 if you have the `posix_fallocate' function. */
336 /* #undef HAVE_POSIX_FALLOCATE */
338 /* Define to 1 if you have the `posix_madvise' function. */
339 /* #undef HAVE_POSIX_MADVISE */
341 /* Define to 1 if you have the `pthread_attr_getstack' function. */
342 /* #undef HAVE_PTHREAD_ATTR_GETSTACK */
344 /* Define to 1 if you have the `pthread_attr_get_np' function. */
345 /* #undef HAVE_PTHREAD_ATTR_GET_NP */
347 /* Define to 1 if you have the `pthread_attr_setstacksize' function. */
348 /* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
350 /* Define to 1 if you have the `pthread_getattr_np' function. */
351 /* #undef HAVE_PTHREAD_GETATTR_NP */
353 /* Define to 1 if you have the `pthread_get_stackaddr_np' function. */
354 /* #undef HAVE_PTHREAD_GET_STACKADDR_NP */
356 /* Define to 1 if you have the `pthread_get_stacksize_np' function. */
357 /* #undef HAVE_PTHREAD_GET_STACKSIZE_NP */
359 /* Define to 1 if you have the <pthread.h> header file. */
360 /* #undef HAVE_PTHREAD_H */
362 /* Define to 1 if you have the `pthread_mutex_timedlock' function. */
363 /* #undef HAVE_PTHREAD_MUTEX_TIMEDLOCK */
365 /* Define to 1 if you have the `remap_file_pages' function. */
366 /* #undef HAVE_REMAP_FILE_PAGES */
368 /* Define to 1 if you have the `sched_setaffinity' function. */
369 /* #undef HAVE_SCHED_SETAFFINITY */
371 /* Define to 1 if you have the <semaphore.h> header file. */
372 /* #undef HAVE_SEMAPHORE_H */
374 /* Define to 1 if you have the `sendfile' function. */
375 /* #undef HAVE_SENDFILE */
377 /* Define to 1 if you have the `setdomainname' function. */
378 /* #undef HAVE_SETDOMAINNAME */
380 /* Define to 1 if you have the `sethostid' function. */
381 /* #undef HAVE_SETHOSTID */
383 /* Define to 1 if you have the `setpriority' function. */
384 /* #undef HAVE_SETPRIORITY */
386 /* Define to 1 if you have the `setresuid' function. */
387 /* #undef HAVE_SETRESUID */
389 /* Using the simple generational GC. */
390 /* #undef HAVE_SGEN_GC */
392 /* Have signal */
393 #define HAVE_SIGNAL 1
395 /* Define to 1 if you have the <signal.h> header file. */
396 #define HAVE_SIGNAL_H 1
398 /* Can get interface list */
399 /* #undef HAVE_SIOCGIFCONF */
401 /* sockaddr_in6 has sin6_len */
402 /* #undef HAVE_SOCKADDR_IN6_SIN_LEN */
404 /* sockaddr_in has sin_len */
405 /* #undef HAVE_SOCKADDR_IN_SIN_LEN */
407 /* Have socklen_t */
408 /* #undef HAVE_SOCKLEN_T */
410 /* Have SOL_IP */
411 /* #undef HAVE_SOL_IP */
413 /* Have SOL_IPV6 */
414 /* #undef HAVE_SOL_IPV6 */
416 /* Have SOL_TCP */
417 /* #undef HAVE_SOL_TCP */
419 /* Define to 1 if you have the `statfs' function. */
420 /* #undef HAVE_STATFS */
422 /* Define to 1 if you have the `statvfs' function. */
423 /* #undef HAVE_STATVFS */
425 /* Define to 1 if you have the <stdint.h> header file. */
426 /* #define HAVE_STDINT_H 1 */
428 /* Define to 1 if you have the <stdlib.h> header file. */
429 #define HAVE_STDLIB_H 1
431 /* Define to 1 if you have the `stime' function. */
432 /* #undef HAVE_STIME */
434 /* Define to 1 if you have the `strerror_r' function. */
435 /* #undef HAVE_STRERROR_R */
437 /* Define to 1 if you have the <strings.h> header file. */
438 #define HAVE_STRINGS_H 1
440 /* Define to 1 if you have the <string.h> header file. */
441 #define HAVE_STRING_H 1
443 /* Define to 1 if `d_off' is member of `struct dirent'. */
444 /* #undef HAVE_STRUCT_DIRENT_D_OFF */
446 /* Define to 1 if `d_reclen' is member of `struct dirent'. */
447 /* #undef HAVE_STRUCT_DIRENT_D_RECLEN */
449 /* Define to 1 if `d_type' is member of `struct dirent'. */
450 /* #undef HAVE_STRUCT_DIRENT_D_TYPE */
452 /* Have struct ip_mreq */
453 #define HAVE_STRUCT_IP_MREQ 1
455 /* Have struct ip_mreqn */
456 /* #undef HAVE_STRUCT_IP_MREQN */
458 /* Define to 1 if the system has the type `struct pollfd'. */
459 /* #undef HAVE_STRUCT_POLLFD */
461 /* Define to 1 if the system has the type `struct stat'. */
462 /* #undef HAVE_STRUCT_STAT */
464 /* Define to 1 if the system has the type `struct timeval'. */
465 /* #undef HAVE_STRUCT_TIMEVAL */
467 /* Define to 1 if the system has the type `struct timezone'. */
468 /* #undef HAVE_STRUCT_TIMEZONE */
470 /* Define to 1 if the system has the type `struct utimbuf'. */
471 /* #undef HAVE_STRUCT_UTIMBUF */
473 /* Define to 1 if the system has the type `suseconds_t'. */
474 /* #undef HAVE_SUSECONDS_T */
476 /* Define to 1 if you have the <syslog.h> header file. */
477 /* #undef HAVE_SYSLOG_H */
479 /* Define to 1 if you have the <sys/epoll.h> header file. */
480 /* #undef HAVE_SYS_EPOLL_H */
482 /* Define to 1 if you have the <sys/extattr.h> header file. */
483 /* #undef HAVE_SYS_EXTATTR_H */
485 /* Define to 1 if you have the <sys/filio.h> header file. */
486 /* #undef HAVE_SYS_FILIO_H */
488 /* Define to 1 if you have the <sys/ioctl.h> header file. */
489 /* #undef HAVE_SYS_IOCTL_H */
491 /* Define to 1 if you have the <sys/mkdev.h> header file. */
492 /* #undef HAVE_SYS_MKDEV_H */
494 /* Define to 1 if you have the <sys/mman.h> header file. */
495 /* #undef HAVE_SYS_MMAN_H */
497 /* Define to 1 if you have the <sys/param.h> header file. */
498 /* #undef HAVE_SYS_PARAM_H */
500 /* Define to 1 if you have the <sys/poll.h> header file. */
501 /* #undef HAVE_SYS_POLL_H */
503 /* Define to 1 if you have the <sys/sdt.h> header file. */
504 /* #undef HAVE_SYS_SDT_H */
506 /* Define to 1 if you have the <sys/sendfile.h> header file. */
507 /* #undef HAVE_SYS_SENDFILE_H */
509 /* Define to 1 if you have the <sys/sockio.h> header file. */
510 /* #undef HAVE_SYS_SOCKIO_H */
512 /* Define to 1 if you have the <sys/statvfs.h> header file. */
513 /* #undef HAVE_SYS_STATVFS_H */
515 /* Define to 1 if you have the <sys/stat.h> header file. */
516 #define HAVE_SYS_STAT_H 1
518 /* Define to 1 if you have the <sys/syscall.h> header file. */
519 /* #undef HAVE_SYS_SYSCALL_H */
521 /* Define to 1 if you have the <sys/time.h> header file. */
522 /* #undef HAVE_SYS_TIME_H */
524 /* Define to 1 if you have the <sys/types.h> header file. */
525 #define HAVE_SYS_TYPES_H 1
527 /* Define to 1 if you have the <sys/un.h> header file. */
528 /* #undef HAVE_SYS_UN_H */
530 /* Define to 1 if you have the <sys/utime.h> header file. */
531 #define HAVE_SYS_UTIME_H 1
533 /* Define to 1 if you have the <sys/vfstab.h> header file. */
534 /* #undef HAVE_SYS_VFSTAB_H */
536 /* Define to 1 if you have the <sys/wait.h> header file. */
537 /* #undef HAVE_SYS_WAIT_H */
539 /* Define to 1 if you have the <sys/xattr.h> header file. */
540 /* #undef HAVE_SYS_XATTR_H */
542 /* Define to 1 if you have the <termios.h> header file. */
543 /* #undef HAVE_TERMIOS_H */
545 /* Define to 1 if you have the <term.h> header file. */
546 /* #undef HAVE_TERM_H */
548 /* Have timezone variable */
549 /* #undef HAVE_TIMEZONE */
551 /* tld_model available */
552 /* #undef HAVE_TLS_MODEL_ATTR */
554 /* Have tm_gmtoff */
555 /* #undef HAVE_TM_GMTOFF */
557 /* Define to 1 if you have the `ttyname_r' function. */
558 /* #undef HAVE_TTYNAME_R */
560 /* Define to 1 if you have the <unistd.h> header file. */
561 /* #define HAVE_UNISTD_H 1 */
563 /* Define to 1 if you have the <utime.h> header file. */
564 /* #define HAVE_UTIME_H 1 */
566 /* Define to 1 if you have the <valgrind/memcheck.h> header file. */
567 /* #undef HAVE_VALGRIND_MEMCHECK_H */
569 /* Support for the visibility ("hidden") attribute */
570 /* #define HAVE_VISIBILITY_HIDDEN 1 */
572 /* Define to 1 if you have the `vsnprintf' function. */
573 /* #undef HAVE_VSNPRINTF */
575 /* Define to 1 if you have the <wchar.h> header file. */
576 #define HAVE_WCHAR_H 1
578 /* Define to 1 if you have IPv6 support. */
579 #define HAVE_STRUCT_SOCKADDR_IN6 1
581 /* Defined as strtok_s in eglib-config.hw */
582 #define HAVE_STRTOK_R 1
584 /* Define to 1 if you have the `access' function. */
585 #define HAVE_ACCESS 1
587 /* Have a working sigaltstack */
588 /* #undef HAVE_WORKING_SIGALTSTACK */
590 /* The GC needs write barriers. */
591 /* #undef HAVE_WRITE_BARRIERS */
593 /* Have system zlib */
594 /* #define HAVE_ZLIB 1 */
596 /* Architecture uses registers for Parameters */
597 /* #undef MONO_ARCH_REGPARMS */
599 /* Enable the allocation and indexing of arrays greater than Int32.MaxValue */
600 /* #undef MONO_BIG_ARRAYS */
602 /* Xen-specific behaviour */
603 /* #define MONO_XEN_OPT 1 */
605 /* Length of zero length arrays */
606 #define MONO_ZERO_LEN_ARRAY 1
608 /* Name of /dev/random */
609 #define NAME_DEV_RANDOM ""
611 /* Define if Unix sockets cannot be created in an anonymous namespace */
612 /* #undef NEED_LINK_UNLINK */
614 /* Name of package */
615 #define PACKAGE "mono"
617 /* Define to the address where bug reports for this package should be sent. */
618 #define PACKAGE_BUGREPORT "Hans_Boehm@hp.com"
620 /* Define to the full name of this package. */
621 #define PACKAGE_NAME "libgc-mono"
623 /* Define to the full name and version of this package. */
624 #define PACKAGE_STRING "libgc-mono 6.6"
626 /* Define to the one symbol short name of this package. */
627 #define PACKAGE_TARNAME "libgc-mono"
629 /* Define to the version of this package. */
630 #define PACKAGE_VERSION "6.6"
632 /* Platform is Win32 */
633 #define HOST_WIN32 1
634 #define TARGET_WIN32 1
636 #ifdef _WIN64
637 #define TARGET_AMD64 1
638 #else
639 #define TARGET_X86 1
640 #endif
642 /* pthread_t is a pointer */
643 /* #undef PTHREAD_POINTER_ID */
645 /* The size of `size_t', as computed by sizeof. */
646 /* #undef SIZEOF_SIZE_T */
648 /* The size of a `void *', as computed by sizeof. */
649 #ifdef _WIN64
650 #define SIZEOF_VOID_P 8
651 #define TARGET_SIZEOF_VOID_P 8
652 #else
653 #define SIZEOF_VOID_P 4
654 #define TARGET_SIZEOF_VOID_P 4
655 #endif
657 #define SIZEOF_REGISTER SIZEOF_VOID_P
659 /* byte order of target */
660 #define TARGET_BYTE_ORDER G_BYTE_ORDER
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)"
670 /* ... */
671 /* #undef USE_MACH_SEMA */
673 /* Use mono_mutex_t */
674 /* #undef USE_MONO_MUTEX */
676 #ifdef ENABLE_LLVM
677 #define ENABLE_LLVM 1
678 #define ENABLE_LLVM_RUNTIME 1
679 #define LLVM_VERSION "3.6.0svn-mono-"
680 #define LLVM_API_VERSION 4
681 #endif
683 /* Version number of package */
684 #define VERSION "#MONO_VERSION#"
686 /* Version of the corlib-runtime interface */
687 #define MONO_CORLIB_VERSION #MONO_CORLIB_VERSION#
689 #endif
691 #ifdef _MSC_VER
692 // FIXME This is all questionable but the logs are flooded and nothing else is fixing them.
693 #define _CRT_SECURE_NO_WARNINGS 1
694 #pragma warning(disable:4013) // function undefined; assuming extern returning int
695 #pragma warning(disable:4018) // signed/unsigned mismatch
696 #pragma warning(disable:4022) // call and prototype disagree
697 #pragma warning(disable:4047) // call and prototype disagree
698 #pragma warning(disable:4090) // const problem
699 #pragma warning(disable:4098) // void return returns a value
700 #pragma warning(disable:4101) // unreferenced local variable
701 #pragma warning(disable:4113) // call and prototype disagree
702 #pragma warning(disable:4146) // unary minus operator applied to unsigned type, result still unsigned
703 #pragma warning(disable:4172) // returning address of local variable or temporary
704 #pragma warning(disable:4189) // local variable is initialized but not referenced
705 #pragma warning(disable:4197) // top-level volatile in cast is ignored
706 #pragma warning(disable:4244) // integer conversion, possible loss of data
707 #pragma warning(disable:4245) // signed/unsigned mismatch
708 #pragma warning(disable:4267) // integer conversion, possible loss of data
709 #pragma warning(disable:4273) // inconsistent dll linkage
710 #pragma warning(disable:4293) // shift count negative or too big, undefined behavior
711 #pragma warning(disable:4305) // truncation from 'double' to 'float'
712 #pragma warning(disable:4312) // 'type cast': conversion from 'MonoNativeThreadId' to 'gpointer' of greater size
713 #pragma warning(disable:4389) // signed/unsigned mismatch
714 #pragma warning(disable:4456) // declaration of 'j' hides previous local declaration
715 #pragma warning(disable:4457) // declaration of 'text' hides function parameter
716 #pragma warning(disable:4702) // unreachable code
717 #pragma warning(disable:4706) // assignment within conditional expression
718 #pragma warning(disable:4715) // 'keyword' not all control paths return a value
719 #pragma warning(disable:4996) // deprecated function GetVersion GetVersionExW fopen inet_addr mktemp sprintf strcat strcpy strtok unlink etc.
720 #endif