X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=d15685302eb4ca05c6a649ecba90f9911b7e6131;hb=1f45c80ead2421d1dc4d1467dc017c255e96c465;hp=2a49fea8b19401abb058883d9ad6fe8b3a2b6d86;hpb=ee05b738754cca1707cbe43cdafefcfa88ff15a2;p=mono.git diff --git a/winconfig.h b/winconfig.h index 2a49fea8b19..d15685302eb 100644 --- a/winconfig.h +++ b/winconfig.h @@ -299,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 */ @@ -646,4 +643,24 @@ /* Version number of package */ #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