From 97fc2edd08bf1faf61c69f61209b09df6b4e9057 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Wed, 18 Dec 2024 18:44:24 +0000 Subject: [PATCH] Set mingw define when using mingw on linux When using mingw on windows, the mingw define is set, so it should also be set on linux for consistency. --- tools/hxcpp/BuildTool.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/hxcpp/BuildTool.hx b/tools/hxcpp/BuildTool.hx index d6b42f513..64b1a42ad 100644 --- a/tools/hxcpp/BuildTool.hx +++ b/tools/hxcpp/BuildTool.hx @@ -2052,6 +2052,7 @@ class BuildTool if(defines.exists("windows")) { defines.set("toolchain","mingw"); + defines.set("mingw", "mingw"); defines.set("xcompile","1"); defines.set("BINDIR", arm64 ? "WindowsArm64" : m64 ? "Windows64":"Windows"); }