[host] fix host-windows-cross github compilation

This commit is contained in:
Geoffrey McRae
2024-02-27 18:54:39 +11:00
parent 4408359597
commit 71b826458d
3 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ include_directories(
# allow use of functions for Windows 7 or later
add_compile_definitions(WINVER=0x0601 _WIN32_WINNT=0x0601)
add_compile_definitions(__USE_MINGW_ANSI_STDIO=0)
if (MINGW)
# Build our own ntdll.dll import library
# This tricks MinGW into not linking stuff like memcpy from ntdll.dll instead of mscvrt.dll