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