X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fcoree-windows-uwp.c;h=ef4c2b773b2646492cc85b084bea638f07f9083b;hb=a1eb52aa13dfb2774b961e741e07e09fac468b33;hp=7aacb5ec86481c791df073bcf31baab29e61cecc;hpb=058f4dc12ba126a7c7233ef431ff738ac2579d26;p=mono.git diff --git a/mono/metadata/coree-windows-uwp.c b/mono/metadata/coree-windows-uwp.c index 7aacb5ec864..ef4c2b773b2 100644 --- a/mono/metadata/coree-windows-uwp.c +++ b/mono/metadata/coree-windows-uwp.c @@ -1,14 +1,16 @@ -/* - * coree-windows-uwp.c: UWP coree support for Mono. +/** + * \file + * UWP coree support for Mono. * * Copyright 2016 Microsoft * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #include #include +#include "mono/utils/mono-compiler.h" #if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) -#include +#include #include "mono/metadata/coree-internals.h" BOOL STDMETHODCALLTYPE @@ -50,8 +52,5 @@ mono_coree_set_act_ctx (const char *file_name) #else /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */ -#ifdef _MSC_VER -// Quiet Visual Studio linker warning, LNK4221, in cases when this source file intentional ends up empty. -void __mono_win32_coree_windows_uwp_quiet_lnk4221(void) {} -#endif +MONO_EMPTY_SOURCE_FILE (coree_windows_uwp); #endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */