X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=21cc0d506d76c94167459d5f961d950b1ab269a8;hb=46b15a2a6b800506ab5d52693f3c68ff82aeb354;hp=5443d2a07b11ec36ed0dd7f2dc26463eb6666eae;hpb=e4d9a7a2e93867ba54b6e88bec915ae2fff1fa94;p=mono.git diff --git a/winconfig.h b/winconfig.h index 5443d2a07b1..21cc0d506d7 100644 --- a/winconfig.h +++ b/winconfig.h @@ -1,5 +1,9 @@ /* 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. */ + +#ifndef _MSC_VER +#include "cygconfig.h" +#else /* The architecture this is running on */ #if defined(_M_IA64) @@ -12,6 +16,10 @@ #error Unknown architecture #endif +#if _WIN32_WINNT < 0x0502 +#error "Mono requires WinXP SP2 or later" +#endif /* _WIN32_WINNT < 0x0502 */ + /* * Features that are not required in the Windows port */ @@ -81,9 +89,7 @@ /* #undef HAVE_BLKSIZE_T */ /* Have Boehm GC */ -#define HAVE_BOEHM_GC 1 - -#define DEFAULT_GC_NAME "Boehm" +/* #define HAVE_BOEHM_GC 1 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_CHECKLIST_H */ @@ -94,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 */ @@ -134,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 */ @@ -164,9 +198,7 @@ /* #undef HAVE_GETPRIORITY */ /* Define to 1 if you have the `GetProcessId' function. */ -#if (_WIN32_WINNT >= 0x0502) #define HAVE_GETPROCESSID 1 -#endif /* Define to 1 if you have the `getpwnam_r' function. */ /* #undef HAVE_GETPWNAM_R */ @@ -531,14 +563,8 @@ /* 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 */ #define MONO_ZERO_LEN_ARRAY 1 @@ -571,6 +597,12 @@ #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 */ @@ -589,11 +621,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 */ @@ -602,4 +633,5 @@ /* #undef USE_MONO_MUTEX */ /* Version number of package */ -#define VERSION "2.9" +#define VERSION "3.12.1" +#endif