X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=blobdiff_plain;f=winconfig.h;h=00edfeec2f7bd4b97fcf92d01db189f9e93b607e;hp=376549ca538c902cbf3fcc2cd4c349c588b32d3f;hb=HEAD;hpb=a20a0459befa90061dbddfa73baa2334df751258 diff --git a/winconfig.h b/winconfig.h index 376549ca538..00edfeec2f7 100644 --- a/winconfig.h +++ b/winconfig.h @@ -1,24 +1,53 @@ -/* 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 -#error "Mono requires WinXP SP2 or later" -#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 */ + +#ifndef HAVE_WINAPI_FAMILY_SUPPORT + +#define HAVE_WINAPI_FAMILY_SUPPORT + +/* WIN API Family support */ +#include + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) + #define HAVE_CLASSIC_WINAPI_SUPPORT 1 + #define HAVE_UWP_WINAPI_SUPPORT 0 +#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) + #define HAVE_CLASSIC_WINAPI_SUPPORT 0 + #define HAVE_UWP_WINAPI_SUPPORT 1 +#ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT + #error Unsupported WINAPI family +#endif +#else + #define HAVE_CLASSIC_WINAPI_SUPPORT 0 + #define HAVE_UWP_WINAPI_SUPPORT 0 +#ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT + #error Unsupported WINAPI family +#endif +#endif + +#endif /* * Features that are not required in the Windows port @@ -26,7 +55,7 @@ #define DISABLE_PORTABILITY 1 /* Windows does not have symlinks */ -#define PLATFORM_NO_SYMLINKS 1 +#define HOST_NO_SYMLINKS 1 /* String of disabled features */ #define DISABLED_FEATURES "none" @@ -61,9 +90,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 +120,15 @@ /* 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. */ +#if HAVE_WINAPI_FAMILY_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) +#define HAVE_SYSTEM 1 +#endif + + /* Have /dev/random */ #define HAVE_CRYPT_RNG 1 @@ -167,18 +202,6 @@ /* Define to 1 if you have the `fstatvfs' function. */ /* #undef HAVE_FSTATVFS */ -/* Have GC_enable */ -/* #define HAVE_GC_ENABLE 1 */ - -/* Have GC_gcj_malloc */ -/* #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 to 1 if you have the `getaddrinfo' function. */ #define HAVE_GETADDRINFO 1 @@ -231,7 +254,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 @@ -302,9 +325,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 */ @@ -371,6 +391,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 */ @@ -557,6 +583,12 @@ /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 +/* Define to 1 if you have IPv6 support. */ +#define HAVE_STRUCT_SOCKADDR_IN6 1 + +/* Defined as strtok_s in eglib-config.hw */ +#define HAVE_STRTOK_R 1 + /* Have a working sigaltstack */ /* #undef HAVE_WORKING_SIGALTSTACK */ @@ -642,5 +674,9 @@ /* #undef USE_MONO_MUTEX */ /* Version number of package */ -#define VERSION "3.12.1" +#define VERSION "#MONO_VERSION#" + +/* Version of the corlib-runtime interface */ +#define MONO_CORLIB_VERSION #MONO_CORLIB_VERSION# + #endif