summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/demo/xmake.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index ea6f6765e..bd8e1d230 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -39,7 +39,13 @@ target("demo")
end
-- enable xp compatibility mode
- add_ldflags("/subsystem:console,\"5.01\"")
+ if is_plat("windows") then
+ if is_arch("x86") then
+ add_ldflags("/subsystem:console,\"5.01\"")
+ else
+ add_ldflags("/subsystem:console,\"5.02\"")
+ end
+ end
-- copy target to the build directory
after_build(function (target)