Skip to content

Commit 7262a23

Browse files
authored
Set mingw define when using mingw on linux (#1168)
When using mingw on windows, the mingw define is set, so it should also be set on linux for consistency.
1 parent 617b050 commit 7262a23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/hxcpp/BuildTool.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,6 +2054,7 @@ class BuildTool
20542054
if(defines.exists("windows"))
20552055
{
20562056
defines.set("toolchain","mingw");
2057+
defines.set("mingw", "mingw");
20572058
defines.set("xcompile","1");
20582059
defines.set("BINDIR", arm64 ? "WindowsArm64" : m64 ? "Windows64":"Windows");
20592060
}

0 commit comments

Comments
 (0)