X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=1084339a44f2172c1cb4b8758d216c541bf72168;hb=da47aed900fa60c50549c062a63d19030a2cda87;hp=10a39bad3394099022c8a4f9157c66eb5669c17a;hpb=3331634f37c395ea87d15a2f3338b2bc66a8470a;p=mono.git diff --git a/winconfig.h b/winconfig.h index 10a39bad339..1084339a44f 100644 --- a/winconfig.h +++ b/winconfig.h @@ -12,6 +12,14 @@ #error Unknown architecture #endif +/* + * Features that are not required in the Windows port + */ +#define DISABLE_PORTABILITY 1 + +/* Windows does not have symlinks */ +#define PLATFORM_NO_SYMLINKS 1 + /* String of disabled features */ #define DISABLED_FEATURES "none" @@ -73,7 +81,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 */ @@ -84,6 +92,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 */ @@ -124,16 +160,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 */ @@ -521,17 +557,14 @@ /* 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 "" @@ -558,7 +591,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 */ @@ -573,14 +613,15 @@ #define SIZEOF_VOID_P 4 #endif +#define SIZEOF_REGISTER SIZEOF_VOID_P + /* 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 */ @@ -589,4 +630,4 @@ /* #undef USE_MONO_MUTEX */ /* Version number of package */ -#define VERSION "2.0" +#define VERSION "2.11"