mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
mingw-w64: remove dependency on ucrtbased
This commit is contained in:
1 parent
52c57ad9fa
commit
c5d82e8c6d
2 files changed
+1
-5
No files matched your search
@@ -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