Merge pull request #444 from knocte/xbuild_improvements
[mono.git] / winconfig.h
index 10a39bad3394099022c8a4f9157c66eb5669c17a..dd3d69b0a55858120ef2161c6dda449d45a25143 100644 (file)
 #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 <checklist.h> header file. */
 /* #undef HAVE_CHECKLIST_H */
 /* #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 <gc/gc.h> 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 */
 #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 ""
 #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 */
 #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 */
 /* #undef USE_MONO_MUTEX */
 
 /* Version number of package */
-#define VERSION "2.0"
+#define VERSION "2.11"