projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build mono runtime under none desktop Windows API family, adjustments and cleanup.
[mono.git]
/
mono
/
utils
/
mono-proclib-windows-uwp.c
diff --git
a/mono/utils/mono-proclib-windows-uwp.c
b/mono/utils/mono-proclib-windows-uwp.c
index e278eccede20f27e62a11c510de17b2df351e7cd..4a2f37dabf9318acc744729cf437a727d722ddef 100644
(file)
--- a/
mono/utils/mono-proclib-windows-uwp.c
+++ b/
mono/utils/mono-proclib-windows-uwp.c
@@
-6,9
+6,10
@@
*/
#include <config.h>
#include <glib.h>
*/
#include <config.h>
#include <glib.h>
+#include "mono/utils/mono-compiler.h"
#if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT)
#if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT)
-#include <
W
indows.h>
+#include <
w
indows.h>
#include <mono/utils/mono-proclib.h>
gint32
#include <mono/utils/mono-proclib.h>
gint32
@@
-57,8
+58,5
@@
mono_cpu_usage (MonoCpuUsageState *prev)
#else /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
#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_proclib_windows_uwp_quiet_lnk4221(void) {}
-#endif
+MONO_EMPTY_SOURCE_FILE (mono_proclib_windows_uwp);
#endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
#endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */