X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fw32process-win32-uwp.c;h=31254dcbbe4a090c95b91d34d08e9344577d09fc;hb=23a69556ded315d102337bf13971411188e26bcd;hp=9fc329ad7a22ea3d48860e6669a44c5b8e6d92eb;hpb=4c960e1dd530396fdd9400c87729a6ce3101e5c1;p=mono.git diff --git a/mono/metadata/w32process-win32-uwp.c b/mono/metadata/w32process-win32-uwp.c index 9fc329ad7a2..31254dcbbe4 100644 --- a/mono/metadata/w32process-win32-uwp.c +++ b/mono/metadata/w32process-win32-uwp.c @@ -6,9 +6,10 @@ */ #include #include +#include "mono/utils/mono-compiler.h" #if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) -#include +#include #include "mono/metadata/w32process-win32-internals.h" gboolean @@ -214,8 +215,5 @@ mono_icall_set_priority_class (gpointer handle, gint32 priorityClass) #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_process_windows_uwp_quiet_lnk4221(void) {} -#endif +MONO_EMPTY_SOURCE_FILE (process_windows_uwp); #endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */