From 5962846dc298a2b95557b2cf521c9798021c5af4 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Sat, 28 Jul 2018 16:58:08 -0700 Subject: [PATCH] Use 32-bit on Neko for now, even for 64-bit Windows systems --- tools/platforms/WindowsPlatform.hx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/platforms/WindowsPlatform.hx b/tools/platforms/WindowsPlatform.hx index 058867004..416ea7b44 100644 --- a/tools/platforms/WindowsPlatform.hx +++ b/tools/platforms/WindowsPlatform.hx @@ -46,16 +46,6 @@ class WindowsPlatform extends PlatformTarget { super (command, _project, targetFlags); - for (architecture in project.architectures) { - - if (architecture == Architecture.X64) { - - is64 = true; - - } - - } - if (project.targetFlags.exists ("uwp") || project.targetFlags.exists ("winjs")) { targetType = "winjs"; @@ -86,6 +76,16 @@ class WindowsPlatform extends PlatformTarget { } + for (architecture in project.architectures) { + + if (targetType != "neko" && architecture == Architecture.X64) { + + is64 = true; + + } + + } + targetDirectory = PathHelper.combine (project.app.path, project.config.getString ("windows.output-directory", targetType == "cpp" ? "windows" : targetType)); targetDirectory = StringTools.replace (targetDirectory, "arch64", is64 ? "64" : "");