X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=d15685302eb4ca05c6a649ecba90f9911b7e6131;hb=4c960e1dd530396fdd9400c87729a6ce3101e5c1;hp=b30a3eb1c8e67f4e8ef9cd171b1dc6971f53fa99;hpb=bd52e33266aee6ffbddf313a99db7fffc497a095;p=mono.git diff --git a/winconfig.h b/winconfig.h index b30a3eb1c8e..d15685302eb 100644 --- a/winconfig.h +++ b/winconfig.h @@ -7,16 +7,18 @@ /* 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 +#ifndef WINVER #define WINVER 0x0A00 +#endif #include @@ -65,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 */ @@ -300,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 */ @@ -372,6 +368,9 @@ /* 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 */ @@ -643,5 +642,25 @@ /* #undef USE_MONO_MUTEX */ /* Version number of package */ -#define VERSION "4.1.0" +#define VERSION "#MONO_VERSION#" + +#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 +#else + #define HAVE_CLASSIC_WINAPI_SUPPORT 0 + #define HAVE_UWP_WINAPI_SUPPORT 0 +#endif + +#endif #endif