X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=62f8cfd62753720406f5558641b298ae256d3a5c;hb=84716a447d6fad296f9c05fbf6e61d7f2b742025;hp=10a39bad3394099022c8a4f9157c66eb5669c17a;hpb=4e5e61cf501ef587ec36aaf80d04d734ca0efaca;p=mono.git diff --git a/winconfig.h b/winconfig.h index 10a39bad339..62f8cfd6275 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" @@ -531,7 +539,7 @@ #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 "" @@ -559,6 +567,7 @@ /* Platform is Win32 */ #define PLATFORM_WIN32 1 +#define TARGET_WIN32 1 /* pthread_t is a pointer */ /* #undef PTHREAD_POINTER_ID */ @@ -573,6 +582,8 @@ #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