Reduce TLS accesses. (#11487)
[mono-project.git] / mono / metadata / w32error-win32.c
bloba5253c15c74d03aca483a165d1ad773a33c34477
1 /**
2 * \file
3 */
5 #include <windows.h>
7 #include "w32error.h"
9 guint32
10 mono_w32error_get_last (void)
12 return GetLastError ();
15 void
16 mono_w32error_set_last (guint32 error)
18 SetLastError (error);
21 guint32
22 mono_w32error_unix_to_win32 (guint32 error)
24 g_assert_not_reached ();