From 2168d90940bfc922fb432c297c3dcc44e5281d7e Mon Sep 17 00:00:00 2001 From: MAJigsaw77 <77043862+MAJigsaw77@users.noreply.github.com> Date: Mon, 9 Mar 2026 17:03:39 +0200 Subject: [PATCH] Fix `MinGW` not showing traces in the console. --- src/hx/StdLibs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hx/StdLibs.cpp b/src/hx/StdLibs.cpp index 64a81e76f..96c2cf0eb 100644 --- a/src/hx/StdLibs.cpp +++ b/src/hx/StdLibs.cpp @@ -254,7 +254,7 @@ void __hxcpp_stdlibs_boot() QueryPerformanceFrequency(&qpcFrequency); #endif - #if defined(_MSC_VER) && !defined(HX_WINRT) + #if defined(HX_WINDOWS) && !defined(HX_WINRT) if (!AttachConsole(ATTACH_PARENT_PROCESS)) { } else if (GetConsoleWindow()) {