projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #5303 from lambdageek/cattr-bcheck
[mono.git]
/
mono
/
mini
/
mini-windows-uwp.c
diff --git
a/mono/mini/mini-windows-uwp.c
b/mono/mini/mini-windows-uwp.c
index c2367aae9c2a046301d5b140a070a17f795881a7..97bea437f3edfe7faf6d5bf228322a23987a3379 100644
(file)
--- a/
mono/mini/mini-windows-uwp.c
+++ b/
mono/mini/mini-windows-uwp.c
@@
-1,14
+1,16
@@
-/*
- * mini-windows-uwp.c: UWP profiler stat support for Mono.
+/**
+ * \file
+ * UWP profiler stat support for Mono.
*
* Copyright 2016 Microsoft
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
#include <config.h>
#include <glib.h>
*
* Copyright 2016 Microsoft
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
#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>
void
mono_runtime_setup_stat_profiler (void)
void
mono_runtime_setup_stat_profiler (void)
@@
-35,9
+37,6
@@
mono_setup_thread_context(DWORD thread_id, MonoContext *mono_context)
#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_mini_windows_uwp_quiet_lnk4221(void) {}
-#endif
+MONO_EMPTY_SOURCE_FILE (mini_windows_uwp);
#endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
#endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */