Fix some handle type violations. (#9154)
[mono-project.git] / winconfig.h
blob254de67c8a2d2c846d1fdd4c2b328294c0d56176
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 < 0x0600
25 #error "Mono requires Windows Vista or later"
26 #endif /* _WIN32_WINNT < 0x0600 */
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 /* #undef HAVE_KW_THREAD */
294 /* Have large file support */
295 /* #undef HAVE_LARGE_FILE_SUPPORT */
297 /* Define to 1 if you have the `unwind' library (-lunwind). */
298 /* #undef HAVE_LIBUNWIND */
300 /* Define to 1 if you have the <linux/rtc.h> header file. */
301 /* #undef HAVE_LINUX_RTC_H */
303 /* Define to 1 if you have the `lutimes' function. */
304 /* #undef HAVE_LUTIMES */
306 /* Define to 1 if you have the `madvise' function. */
307 /* #undef HAVE_MADVISE */
309 /* Define to 1 if you have the <memory.h> header file. */
310 #define HAVE_MEMORY_H 1
312 /* Define to 1 if you have the `mkstemp' function. */
313 /* #undef HAVE_MKSTEMP */
315 /* Define to 1 if you have the `mmap' function. */
316 /* #undef HAVE_MMAP */
318 /* The GC can move objects. */
319 /* #undef HAVE_MOVING_COLLECTOR */
321 /* Define to 1 if you have the `mremap' function. */
322 /* #undef HAVE_MREMAP */
324 /* Have MSG_NOSIGNAL */
325 /* #undef HAVE_MSG_NOSIGNAL */
327 /* Define to 1 if you have the <netdb.h> header file. */
328 /* #undef HAVE_NETDB_H */
330 /* Define to 1 if you have the <net/if.h> header file. */
331 /* #undef HAVE_NET_IF_H */
333 /* No GC support. */
334 /* #undef HAVE_NULL_GC */
336 /* Define to 1 if you have the `poll' function. */
337 /* #undef HAVE_POLL */
339 /* Define to 1 if you have the <poll.h> header file. */
340 /* #undef HAVE_POLL_H */
342 /* Define to 1 if you have the `posix_fadvise' function. */
343 /* #undef HAVE_POSIX_FADVISE */
345 /* Define to 1 if you have the `posix_fallocate' function. */
346 /* #undef HAVE_POSIX_FALLOCATE */
348 /* Define to 1 if you have the `posix_madvise' function. */
349 /* #undef HAVE_POSIX_MADVISE */
351 /* Define to 1 if you have the `pthread_attr_getstack' function. */
352 /* #undef HAVE_PTHREAD_ATTR_GETSTACK */
354 /* Define to 1 if you have the `pthread_attr_get_np' function. */
355 /* #undef HAVE_PTHREAD_ATTR_GET_NP */
357 /* Define to 1 if you have the `pthread_attr_setstacksize' function. */
358 /* #undef HAVE_PTHREAD_ATTR_SETSTACKSIZE */
360 /* Define to 1 if you have the `pthread_getattr_np' function. */
361 /* #undef HAVE_PTHREAD_GETATTR_NP */
363 /* Define to 1 if you have the `pthread_get_stackaddr_np' function. */
364 /* #undef HAVE_PTHREAD_GET_STACKADDR_NP */
366 /* Define to 1 if you have the `pthread_get_stacksize_np' function. */
367 /* #undef HAVE_PTHREAD_GET_STACKSIZE_NP */
369 /* Define to 1 if you have the <pthread.h> header file. */
370 /* #undef HAVE_PTHREAD_H */
372 /* Define to 1 if you have the `pthread_mutex_timedlock' function. */
373 /* #undef HAVE_PTHREAD_MUTEX_TIMEDLOCK */
375 /* Define to 1 if you have the `remap_file_pages' function. */
376 /* #undef HAVE_REMAP_FILE_PAGES */
378 /* Define to 1 if you have the `sched_setaffinity' function. */
379 /* #undef HAVE_SCHED_SETAFFINITY */
381 /* Define to 1 if you have the <semaphore.h> header file. */
382 /* #undef HAVE_SEMAPHORE_H */
384 /* Define to 1 if you have the `sendfile' function. */
385 /* #undef HAVE_SENDFILE */
387 /* Define to 1 if you have the `setdomainname' function. */
388 /* #undef HAVE_SETDOMAINNAME */
390 /* Define to 1 if you have the `sethostid' function. */
391 /* #undef HAVE_SETHOSTID */
393 /* Define to 1 if you have the `setpriority' function. */
394 /* #undef HAVE_SETPRIORITY */
396 /* Define to 1 if you have the `setresuid' function. */
397 /* #undef HAVE_SETRESUID */
399 /* Using the simple generational GC. */
400 /* #undef HAVE_SGEN_GC */
402 /* Have signal */
403 #define HAVE_SIGNAL 1
405 /* Define to 1 if you have the <signal.h> header file. */
406 #define HAVE_SIGNAL_H 1
408 /* Have signbit */
409 /* #undef HAVE_SIGNBIT */
411 /* Can get interface list */
412 /* #undef HAVE_SIOCGIFCONF */
414 /* sockaddr_in6 has sin6_len */
415 /* #undef HAVE_SOCKADDR_IN6_SIN_LEN */
417 /* sockaddr_in has sin_len */
418 /* #undef HAVE_SOCKADDR_IN_SIN_LEN */
420 /* Have socklen_t */
421 /* #undef HAVE_SOCKLEN_T */
423 /* Have SOL_IP */
424 /* #undef HAVE_SOL_IP */
426 /* Have SOL_IPV6 */
427 /* #undef HAVE_SOL_IPV6 */
429 /* Have SOL_TCP */
430 /* #undef HAVE_SOL_TCP */
432 /* Define to 1 if you have the `statfs' function. */
433 /* #undef HAVE_STATFS */
435 /* Define to 1 if you have the `statvfs' function. */
436 /* #undef HAVE_STATVFS */
438 /* Define to 1 if you have the <stdint.h> header file. */
439 /* #define HAVE_STDINT_H 1 */
441 /* Define to 1 if you have the <stdlib.h> header file. */
442 #define HAVE_STDLIB_H 1
444 /* Define to 1 if you have the `stime' function. */
445 /* #undef HAVE_STIME */
447 /* Define to 1 if you have the `strerror_r' function. */
448 /* #undef HAVE_STRERROR_R */
450 /* Define to 1 if you have the <strings.h> header file. */
451 #define HAVE_STRINGS_H 1
453 /* Define to 1 if you have the <string.h> header file. */
454 #define HAVE_STRING_H 1
456 /* Define to 1 if `d_off' is member of `struct dirent'. */
457 /* #undef HAVE_STRUCT_DIRENT_D_OFF */
459 /* Define to 1 if `d_reclen' is member of `struct dirent'. */
460 /* #undef HAVE_STRUCT_DIRENT_D_RECLEN */
462 /* Define to 1 if `d_type' is member of `struct dirent'. */
463 /* #undef HAVE_STRUCT_DIRENT_D_TYPE */
465 /* Have struct ip_mreq */
466 #define HAVE_STRUCT_IP_MREQ 1
468 /* Have struct ip_mreqn */
469 /* #undef HAVE_STRUCT_IP_MREQN */
471 /* Define to 1 if the system has the type `struct pollfd'. */
472 /* #undef HAVE_STRUCT_POLLFD */
474 /* Define to 1 if the system has the type `struct stat'. */
475 /* #undef HAVE_STRUCT_STAT */
477 /* Define to 1 if the system has the type `struct timeval'. */
478 /* #undef HAVE_STRUCT_TIMEVAL */
480 /* Define to 1 if the system has the type `struct timezone'. */
481 /* #undef HAVE_STRUCT_TIMEZONE */
483 /* Define to 1 if the system has the type `struct utimbuf'. */
484 /* #undef HAVE_STRUCT_UTIMBUF */
486 /* Define to 1 if the system has the type `suseconds_t'. */
487 /* #undef HAVE_SUSECONDS_T */
489 /* Define to 1 if you have the <syslog.h> header file. */
490 /* #undef HAVE_SYSLOG_H */
492 /* Define to 1 if you have the <sys/epoll.h> header file. */
493 /* #undef HAVE_SYS_EPOLL_H */
495 /* Define to 1 if you have the <sys/extattr.h> header file. */
496 /* #undef HAVE_SYS_EXTATTR_H */
498 /* Define to 1 if you have the <sys/filio.h> header file. */
499 /* #undef HAVE_SYS_FILIO_H */
501 /* Define to 1 if you have the <sys/ioctl.h> header file. */
502 /* #undef HAVE_SYS_IOCTL_H */
504 /* Define to 1 if you have the <sys/mkdev.h> header file. */
505 /* #undef HAVE_SYS_MKDEV_H */
507 /* Define to 1 if you have the <sys/mman.h> header file. */
508 /* #undef HAVE_SYS_MMAN_H */
510 /* Define to 1 if you have the <sys/param.h> header file. */
511 /* #undef HAVE_SYS_PARAM_H */
513 /* Define to 1 if you have the <sys/poll.h> header file. */
514 /* #undef HAVE_SYS_POLL_H */
516 /* Define to 1 if you have the <sys/sdt.h> header file. */
517 /* #undef HAVE_SYS_SDT_H */
519 /* Define to 1 if you have the <sys/sendfile.h> header file. */
520 /* #undef HAVE_SYS_SENDFILE_H */
522 /* Define to 1 if you have the <sys/sockio.h> header file. */
523 /* #undef HAVE_SYS_SOCKIO_H */
525 /* Define to 1 if you have the <sys/statvfs.h> header file. */
526 /* #undef HAVE_SYS_STATVFS_H */
528 /* Define to 1 if you have the <sys/stat.h> header file. */
529 #define HAVE_SYS_STAT_H 1
531 /* Define to 1 if you have the <sys/syscall.h> header file. */
532 /* #undef HAVE_SYS_SYSCALL_H */
534 /* Define to 1 if you have the <sys/time.h> header file. */
535 /* #undef HAVE_SYS_TIME_H */
537 /* Define to 1 if you have the <sys/types.h> header file. */
538 #define HAVE_SYS_TYPES_H 1
540 /* Define to 1 if you have the <sys/un.h> header file. */
541 /* #undef HAVE_SYS_UN_H */
543 /* Define to 1 if you have the <sys/utime.h> header file. */
544 #define HAVE_SYS_UTIME_H 1
546 /* Define to 1 if you have the <sys/vfstab.h> header file. */
547 /* #undef HAVE_SYS_VFSTAB_H */
549 /* Define to 1 if you have the <sys/wait.h> header file. */
550 /* #undef HAVE_SYS_WAIT_H */
552 /* Define to 1 if you have the <sys/xattr.h> header file. */
553 /* #undef HAVE_SYS_XATTR_H */
555 /* Define to 1 if you have the <termios.h> header file. */
556 /* #undef HAVE_TERMIOS_H */
558 /* Define to 1 if you have the <term.h> header file. */
559 /* #undef HAVE_TERM_H */
561 /* Have timezone variable */
562 /* #undef HAVE_TIMEZONE */
564 /* tld_model available */
565 /* #undef HAVE_TLS_MODEL_ATTR */
567 /* Have tm_gmtoff */
568 /* #undef HAVE_TM_GMTOFF */
570 /* Define to 1 if you have the `trunc' function. */
571 #define HAVE_TRUNC 1
573 /* Define to 1 if you have the `ttyname_r' function. */
574 /* #undef HAVE_TTYNAME_R */
576 /* Define to 1 if you have the <unistd.h> header file. */
577 /* #define HAVE_UNISTD_H 1 */
579 /* Define to 1 if you have the <utime.h> header file. */
580 /* #define HAVE_UTIME_H 1 */
582 /* Define to 1 if you have the <valgrind/memcheck.h> header file. */
583 /* #undef HAVE_VALGRIND_MEMCHECK_H */
585 /* Support for the visibility ("hidden") attribute */
586 /* #define HAVE_VISIBILITY_HIDDEN 1 */
588 /* Define to 1 if you have the `vsnprintf' function. */
589 /* #undef HAVE_VSNPRINTF */
591 /* Define to 1 if you have the <wchar.h> header file. */
592 #define HAVE_WCHAR_H 1
594 /* Define to 1 if you have IPv6 support. */
595 #define HAVE_STRUCT_SOCKADDR_IN6 1
597 /* Defined as strtok_s in eglib-config.hw */
598 #define HAVE_STRTOK_R 1
600 /* Define to 1 if you have the `access' function. */
601 #define HAVE_ACCESS 1
603 /* Have a working sigaltstack */
604 /* #undef HAVE_WORKING_SIGALTSTACK */
606 /* The GC needs write barriers. */
607 /* #undef HAVE_WRITE_BARRIERS */
609 /* Have system zlib */
610 /* #define HAVE_ZLIB 1 */
612 /* Architecture uses registers for Parameters */
613 /* #undef MONO_ARCH_REGPARMS */
615 /* Enable the allocation and indexing of arrays greater than Int32.MaxValue */
616 /* #undef MONO_BIG_ARRAYS */
618 /* Xen-specific behaviour */
619 /* #define MONO_XEN_OPT 1 */
621 /* Length of zero length arrays */
622 #define MONO_ZERO_LEN_ARRAY 1
624 /* Name of /dev/random */
625 #define NAME_DEV_RANDOM ""
627 /* Define if Unix sockets cannot be created in an anonymous namespace */
628 /* #undef NEED_LINK_UNLINK */
630 /* Name of package */
631 #define PACKAGE "mono"
633 /* Define to the address where bug reports for this package should be sent. */
634 #define PACKAGE_BUGREPORT "Hans_Boehm@hp.com"
636 /* Define to the full name of this package. */
637 #define PACKAGE_NAME "libgc-mono"
639 /* Define to the full name and version of this package. */
640 #define PACKAGE_STRING "libgc-mono 6.6"
642 /* Define to the one symbol short name of this package. */
643 #define PACKAGE_TARNAME "libgc-mono"
645 /* Define to the version of this package. */
646 #define PACKAGE_VERSION "6.6"
648 /* Platform is Win32 */
649 #define HOST_WIN32 1
650 #define TARGET_WIN32 1
652 #ifdef _WIN64
653 #define TARGET_AMD64 1
654 #else
655 #define TARGET_X86 1
656 #endif
658 /* pthread_t is a pointer */
659 /* #undef PTHREAD_POINTER_ID */
661 /* The size of `size_t', as computed by sizeof. */
662 /* #undef SIZEOF_SIZE_T */
664 /* The size of a `void *', as computed by sizeof. */
665 #ifdef _WIN64
666 #define SIZEOF_VOID_P 8
667 #else
668 #define SIZEOF_VOID_P 4
669 #endif
671 #define SIZEOF_REGISTER SIZEOF_VOID_P
673 /* Define to 1 if you have the ANSI C header files. */
674 #define STDC_HEADERS 1
676 /* Use included libgc */
677 /* #define USE_INCLUDED_LIBGC 1 */
679 #define DEFAULT_GC_NAME "Included Boehm (with typed GC)"
681 /* ... */
682 /* #undef USE_MACH_SEMA */
684 /* Use mono_mutex_t */
685 /* #undef USE_MONO_MUTEX */
687 /* Version number of package */
688 #define VERSION "#MONO_VERSION#"
690 /* Version of the corlib-runtime interface */
691 #define MONO_CORLIB_VERSION #MONO_CORLIB_VERSION#
693 #endif
695 #ifdef _MSC_VER
696 // FIXME This is all questionable but the logs are flooded and nothing else is fixing them.
697 #define _CRT_SECURE_NO_WARNINGS 1
698 #pragma warning(disable:4013) // function undefined; assuming extern returning int
699 #pragma warning(disable:4018) // signed/unsigned mismatch
700 #pragma warning(disable:4022) // call and prototype disagree
701 #pragma warning(disable:4047) // call and prototype disagree
702 #pragma warning(disable:4090) // const problem
703 #pragma warning(disable:4098) // void return returns a value
704 #pragma warning(disable:4101) // unreferenced local variable
705 #pragma warning(disable:4113) // call and prototype disagree
706 #pragma warning(disable:4146) // unary minus operator applied to unsigned type, result still unsigned
707 #pragma warning(disable:4172) // returning address of local variable or temporary
708 #pragma warning(disable:4189) // local variable is initialized but not referenced
709 #pragma warning(disable:4197) // top-level volatile in cast is ignored
710 #pragma warning(disable:4244) // integer conversion, possible loss of data
711 #pragma warning(disable:4245) // signed/unsigned mismatch
712 #pragma warning(disable:4267) // integer conversion, possible loss of data
713 #pragma warning(disable:4273) // inconsistent dll linkage
714 #pragma warning(disable:4293) // shift count negative or too big, undefined behavior
715 #pragma warning(disable:4305) // truncation from 'double' to 'float'
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