11 #if _WIN32_WINNT < 0x0601
12 #error "Mono requires Windows 7 or later."
13 #endif /* _WIN32_WINNT < 0x0601 */
15 #ifndef HAVE_WINAPI_FAMILY_SUPPORT
17 #define HAVE_WINAPI_FAMILY_SUPPORT
19 /* WIN API Family support */
20 #include <winapifamily.h>
22 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
23 #define HAVE_CLASSIC_WINAPI_SUPPORT 1
24 #define HAVE_UWP_WINAPI_SUPPORT 0
25 #elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
26 #define HAVE_CLASSIC_WINAPI_SUPPORT 0
27 #define HAVE_UWP_WINAPI_SUPPORT 1
28 #ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
29 #error Unsupported WINAPI family
32 #define HAVE_CLASSIC_WINAPI_SUPPORT 0
33 #define HAVE_UWP_WINAPI_SUPPORT 0
34 #ifndef HAVE_EXTERN_DEFINED_WINAPI_SUPPORT
35 #error Unsupported WINAPI family