| 1 | #ifndef __LIBMSVCRT_OS__ |
| 2 | #error "This file should only be used in libmsvcrt-os.a" |
| 3 | #endif |
| 4 | |
| 5 | #ifndef MSVCRT_H |
| 6 | #define MSVCRT_H |
| 7 | |
| 8 | #include <winbase.h> |
| 9 | |
| 10 | static inline HMODULE __mingw_get_msvcrt_handle(void) |
| 11 | { |
| 12 | return GetModuleHandleA("msvcrt.dll"); |
| 13 | } |
| 14 | |
| 15 | #endif |