Respect -mingw flag for cross compiling to windows

This commit is contained in:
tobil4sk
2023-04-12 16:22:38 +01:00
parent 60aabeeff3
commit 7f5dcb4e9f
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ class ProjectXMLParser extends HXProject
{
defines.set("native", "1");
if (target == Platform.WINDOWS)
if (target == Platform.WINDOWS && targetFlags.exists("mingw"))
{
defines.set("targetType", "cpp");
defines.set("cpp", "1");