Skip to content

Commit

Permalink
Set mingw define when using mingw on linux
Browse files Browse the repository at this point in the history
When using mingw on windows, the mingw define is set, so it should also
be set on linux for consistency.
  • Loading branch information
tobil4sk committed Dec 18, 2024
1 parent 54af892 commit 97fc2ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/hxcpp/BuildTool.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 97fc2ed

Please sign in to comment.