mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
mingw-w64: remove dependency on ucrtbased
This commit is contained in:
@@ -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
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user