projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[arm64] Scan simd registers on apple
[mono.git]
/
mono
/
utils
/
mono-rand-windows-uwp.c
diff --git
a/mono/utils/mono-rand-windows-uwp.c
b/mono/utils/mono-rand-windows-uwp.c
index e9030fe85511cb086af7420b8ef91f38762b4be2..858df2dcef1255b05598cfdbc5b2676ced6c1658 100644
(file)
--- a/
mono/utils/mono-rand-windows-uwp.c
+++ b/
mono/utils/mono-rand-windows-uwp.c
@@
-1,15
+1,17
@@
-/*
- * mono-rand-windows-uwp.c: UWP rand support for Mono.
+/**
+ * \file
+ * UWP rand 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 "mono/utils/mono-rand-windows.h"
+#include <
w
indows.h>
+#include "mono/utils/mono-rand-windows
-internals
.h"
MONO_WIN32_CRYPT_PROVIDER_HANDLE
mono_rand_win_open_provider (void)
MONO_WIN32_CRYPT_PROVIDER_HANDLE
mono_rand_win_open_provider (void)
@@
-45,8
+47,5
@@
mono_rand_win_close_provider (MONO_WIN32_CRYPT_PROVIDER_HANDLE provider)
#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_rand_windows_uwp_quiet_lnk4221(void) {}
-#endif
+MONO_EMPTY_SOURCE_FILE (mono_rand_windows_uwp);
#endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
#endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */