X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=0c690d3a35c4213b0746b82955c88b44bbb4f0e0;hb=d84d1a94a06dc8c8585cdf360f8ad5fe4c5866cf;hp=e9eb276bf65d9c85f7dc46288b57baa55d7b39bd;hpb=b87c7e29df7d04e3199e224c8b8e9a41292cec1b;p=mono.git diff --git a/winconfig.h b/winconfig.h index e9eb276bf65..0c690d3a35c 100644 --- a/winconfig.h +++ b/winconfig.h @@ -1,5 +1,5 @@ /* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.in by autoheader. */ +/* config.h.in. Generated from configure.ac by autoheader. */ /* The architecture this is running on */ #if defined(_M_IA64) @@ -12,6 +12,14 @@ #error Unknown architecture #endif +#if _WIN32_WINNT < 0x0502 +/* Required for Vectored Exception Handling. + Interlocked* functions are also not available in XP SP1 and below +*/ +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x0502 +#endif /* _WIN32_WINNT < 0x0502 */ + /* * Features that are not required in the Windows port */ @@ -81,7 +89,7 @@ /* #undef HAVE_BLKSIZE_T */ /* Have Boehm GC */ -#define HAVE_BOEHM_GC 1 +/* #define HAVE_BOEHM_GC 1 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_CHECKLIST_H */ @@ -92,6 +100,34 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_CURSES_H */ +/* Define to 1 if you have the declaration of `InterlockedAdd', + and to 0 if you don't. */ +#define HAVE_DECL_INTERLOCKEDADD 1 + +/* Define to 1 if you have the declaration of `InterlockedAdd64', + and to 0 if you don't. */ +#define HAVE_DECL_INTERLOCKEDADD64 1 + +/* Define to 1 if you have the declaration of `InterlockedCompareExchange64', + and to 0 if you don't. */ +#define HAVE_DECL_INTERLOCKEDCOMPAREEXCHANGE64 1 + +/* Define to 1 if you have the declaration of `InterlockedDecrement64', + and to 0 if you don't. */ +#define HAVE_DECL_INTERLOCKEDDECREMENT64 1 + +/* Define to 1 if you have the declaration of `InterlockedExchange64', + and to 0 if you don't. */ +#define HAVE_DECL_INTERLOCKEDEXCHANGE64 1 + +/* Define to 1 if you have the declaration of `InterlockedIncrement64', + and to 0 if you don't. */ +#define HAVE_DECL_INTERLOCKEDINCREMENT64 1 + +/* Define to 1 if you have the declaration of `__readfsdword', + and to 0 if you don't. */ +#define HAVE_DECL___READFSDWORD 1 + /* Define to 1 if you have the header file. */ /* #define HAVE_DIRENT_H 1 */ @@ -132,16 +168,16 @@ /* #undef HAVE_FSTATVFS */ /* Have GC_enable */ -#define HAVE_GC_ENABLE 1 +/* #define HAVE_GC_ENABLE 1 */ /* Have GC_gcj_malloc */ -#define HAVE_GC_GCJ_MALLOC 1 +/* #define HAVE_GC_GCJ_MALLOC 1 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_GC_GC_H */ /* Have gc.h */ -#define HAVE_GC_H 1 +/* #define HAVE_GC_H 1 */ /* Define to 1 if you have the `getdomainname' function. */ /* #undef HAVE_GETDOMAINNAME */ @@ -529,17 +565,11 @@ /* Enable the allocation and indexing of arrays greater than Int32.MaxValue */ /* #undef MONO_BIG_ARRAYS */ -/* The Mono Debugger is supported on this platform */ -/* #undef MONO_DEBUGGER_SUPPORTED */ - -/* Sizeof sock_un.sun_path */ -/* #undef MONO_SIZEOF_SUNPATH */ - /* Xen-specific behaviour */ -#define MONO_XEN_OPT 1 +/* #define MONO_XEN_OPT 1 */ /* Length of zero length arrays */ -/* #undef MONO_ZERO_ARRAY_LENGTH */ +#define MONO_ZERO_LEN_ARRAY 1 /* Name of /dev/random */ #define NAME_DEV_RANDOM "" @@ -566,7 +596,14 @@ #define PACKAGE_VERSION "6.6" /* Platform is Win32 */ -#define PLATFORM_WIN32 1 +#define HOST_WIN32 1 +#define TARGET_WIN32 1 + +#ifdef _WIN64 +#define TARGET_AMD64 1 +#else +#define TARGET_X86 1 +#endif /* pthread_t is a pointer */ /* #undef PTHREAD_POINTER_ID */ @@ -586,11 +623,10 @@ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 -/* GC description */ -#define USED_GC_NAME "Included Boehm (with typed GC)" - /* Use included libgc */ -#define USE_INCLUDED_LIBGC 1 +/* #define USE_INCLUDED_LIBGC 1 */ + +#define DEFAULT_GC_NAME "Included Boehm (with typed GC)" /* ... */ /* #undef USE_MACH_SEMA */ @@ -599,4 +635,4 @@ /* #undef USE_MONO_MUTEX */ /* Version number of package */ -#define VERSION "2.0" +#define VERSION "2.11"