zig/lib/libc/mingw/include/msvcrt.h
2022-10-11 01:05:42 -07:00

10 lines
213 B
C
Vendored

#include <winbase.h>
#ifndef __LIBMSVCRT_OS__
#error "This file should only be used in libmsvcrt-os.a"
#endif
static inline HANDLE __mingw_get_msvcrt_handle(void)
{
return GetModuleHandleW(L"msvcrt.dll");
}