X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=a6daf8b05286c8b10b8dabe416649fee9906b609;hb=cadf391beab4c0d0c4aada7acb8fcb7c2e702e87;hp=a4851db6db4e0afc08028b4049c7191538817cf4;hpb=10fa44a5e6ab5b6cc4c4a79da9a2a032d0901af5;p=mono.git diff --git a/winconfig.h b/winconfig.h index a4851db6db4..a6daf8b0528 100644 --- a/winconfig.h +++ b/winconfig.h @@ -1,24 +1,30 @@ /* config.h. Generated from config.h.in by configure. */ /* 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) -#define ARCHITECTURE "ia64" +#define MONO_ARCHITECTURE "ia64" #elif defined(_M_AMD64) -#define ARCHITECTURE "amd64" +#define MONO_ARCHITECTURE "amd64" #elif defined(_M_IX86) -#define ARCHITECTURE "x86" +#define MONO_ARCHITECTURE "x86" #else #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 */ +#ifndef WINVER +#define WINVER 0x0A00 +#endif + +#include + +#if _WIN32_WINNT < 0x0600 +#error "Mono requires Windows Vista or later" +#endif /* _WIN32_WINNT < 0x0600 */ /* * Features that are not required in the Windows port @@ -61,9 +67,6 @@ /* Disable reflection emit support */ /* #undef DISABLE_REFLECTION_EMIT */ -/* Disable inter-process shared handles */ -/* #undef DISABLE_SHARED_HANDLES */ - /* Disable advanced SSA JIT optimizations */ /* #undef DISABLE_SSA */ @@ -94,6 +97,12 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_CHECKLIST_H */ +/* Define to 1 if you have the header file. */ +#define HAVE_COMPLEX_H 1 + +/* Define to 1 if you have the `system' function. */ +#define HAVE_SYSTEM 1 + /* Have /dev/random */ #define HAVE_CRYPT_RNG 1 @@ -167,17 +176,14 @@ /* Define to 1 if you have the `fstatvfs' function. */ /* #undef HAVE_FSTATVFS */ -/* Have GC_enable */ -/* #define HAVE_GC_ENABLE 1 */ +/* Define to 1 if you have the `getaddrinfo' function. */ +#define HAVE_GETADDRINFO 1 -/* Have GC_gcj_malloc */ -/* #define HAVE_GC_GCJ_MALLOC 1 */ +/* Define to 1 if you have the `getnameinfo' function. */ +#define HAVE_GETNAMEINFO 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_GC_GC_H */ - -/* Have gc.h */ -/* #define HAVE_GC_H 1 */ +/* Define to 1 if you have the `getprotobyname' function. */ +#define HAVE_GETPROTOBYNAME 1 /* Define to 1 if you have the `getdomainname' function. */ /* #undef HAVE_GETDOMAINNAME */ @@ -198,9 +204,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 */ @@ -224,7 +228,7 @@ /* #undef HAVE_INET_ATON */ /* Define to 1 if you have the `inet_pton' function. */ -/* #undef HAVE_INET_PTON */ +#define HAVE_INET_PTON 1 /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 @@ -295,9 +299,6 @@ /* No GC support. */ /* #undef HAVE_NULL_GC */ -/* Have oprofile support */ -/* #undef HAVE_OPROFILE */ - /* Define to 1 if you have the `poll' function. */ /* #undef HAVE_POLL */ @@ -364,6 +365,12 @@ /* Using the simple generational GC. */ /* #undef HAVE_SGEN_GC */ + /* Have signal */ +#define HAVE_SIGNAL 1 + + /* Define to 1 if you have the header file. */ +#define HAVE_SIGNAL_H 1 + /* Have signbit */ /* #undef HAVE_SIGNBIT */ @@ -565,9 +572,6 @@ /* Enable the allocation and indexing of arrays greater than Int32.MaxValue */ /* #undef MONO_BIG_ARRAYS */ -/* Sizeof sock_un.sun_path */ -/* #undef MONO_SIZEOF_SUNPATH */ - /* Xen-specific behaviour */ /* #define MONO_XEN_OPT 1 */ @@ -638,4 +642,5 @@ /* #undef USE_MONO_MUTEX */ /* Version number of package */ -#define VERSION "2.11" +#define VERSION "#MONO_VERSION#" +#endif