mingw-w64: remove dependency on ucrtbased

This commit is contained in:
oltolm
2025-05-31 18:24:29 +02:00
parent 52c57ad9fa
commit c5d82e8c6d
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -437,10 +437,6 @@ if(NOT MSVC)
endif()
include(CheckSymbolExists)
check_symbol_exists(_UCRT "windows.h" UCRT)
if (UCRT)
link_libraries("$<$<CONFIG:Debug>:ucrtbased>")
endif()
add_compile_definitions("$<$<CONFIG:Debug>:_DEBUG>")
+1 -1
View File
@@ -899,7 +899,7 @@ static void WinMainInit() {
EnableCrashingOnCrashes();
#ifdef _DEBUG
#if defined(_DEBUG) && defined(_MSC_VER)
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
#endif
PROFILE_INIT();