diff options
author | lateralusX <lateralusx.github@gmail.com> | 2016-10-28 16:24:53 +0300 |
---|---|---|
committer | lateralusX <lateralusx.github@gmail.com> | 2016-11-08 11:04:49 +0300 |
commit | 23a69556ded315d102337bf13971411188e26bcd (patch) | |
tree | 44e31c1284d660c6ce31a31e840bc952084af0c9 /winconfig.h | |
parent | b75ef2bf8505c8028c98a0ee9bb30abcabe52072 (diff) |
Build mono runtime under none desktop Windows API family, adjustments and cleanup.
Continuation work on previous none desktop Windows API family PR's adjusting all
changes to similar patterns used over previous PR's. This PR also move the logic
to silence a MS VS linker warning on empty source files into a macro. It also includes
the use of the macro in a couple of more source files causing linker warnings when build
on none desktop API families excluding JIT support.
Since other Windows API family work is still in progress it also disables build capabilities
for none desktop API families.
Diffstat (limited to 'winconfig.h')
-rw-r--r-- | winconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winconfig.h b/winconfig.h index d15685302eb..73f67534019 100644 --- a/winconfig.h +++ b/winconfig.h @@ -657,9 +657,15 @@ #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 |