[interp] Fix interp logging (#17636)
[mono-project.git] / mono / mini / mini-windows-uwp.c
blob97bea437f3edfe7faf6d5bf228322a23987a3379
1 /**
2 * \file
3 * UWP profiler stat support for Mono.
5 * Copyright 2016 Microsoft
6 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
7 */
8 #include <config.h>
9 #include <glib.h>
10 #include "mono/utils/mono-compiler.h"
12 #if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT)
13 #include <windows.h>
15 void
16 mono_runtime_setup_stat_profiler (void)
18 g_unsupported_api ("OpenThread, GetThreadContext");
19 SetLastError (ERROR_NOT_SUPPORTED);
20 return;
23 void
24 mono_runtime_shutdown_stat_profiler (void)
26 g_unsupported_api ("OpenThread, GetThreadContext");
27 SetLastError (ERROR_NOT_SUPPORTED);
28 return;
31 static gboolean
32 mono_setup_thread_context(DWORD thread_id, MonoContext *mono_context)
34 memset (mono_context, 0, sizeof (MonoContext));
35 return FALSE;
38 #else /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */
40 MONO_EMPTY_SOURCE_FILE (mini_windows_uwp);
41 #endif /* G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) */