X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mono%2Futils%2Fmono-dl-windows-uwp.c;h=e3e5ddf7b6ada4287adb6b5bcf1b3cc2018596ac;hb=45d90b20b7fb92adbeaf9a711cade5489ebeee42;hp=8bb8e6c7e08cf211e8a5c22e2f87028000453054;hpb=85c73568b0739fabfe454532a955d80adc2ccc7a;p=mono.git diff --git a/mono/utils/mono-dl-windows-uwp.c b/mono/utils/mono-dl-windows-uwp.c index 8bb8e6c7e08..e3e5ddf7b6a 100644 --- a/mono/utils/mono-dl-windows-uwp.c +++ b/mono/utils/mono-dl-windows-uwp.c @@ -1,15 +1,17 @@ -/* - * mono-dl-windows-uwp.c: UWP dl support for Mono. +/** + * \file + * UWP dl 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 "mono/utils/mono-dl-windows.h" +#include +#include "mono/utils/mono-dl-windows-internals.h" void* mono_dl_lookup_symbol_in_process (const char *symbol_name) @@ -37,8 +39,5 @@ mono_dl_current_error_string (void) #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_mono_dl_windows_uwp_quiet_lnk4221(void) {} -#endif +MONO_EMPTY_SOURCE_FILE (mono_dl_windows_uwp); #endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */