summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-10 22:39:38 +0800
committerruki <[email protected]>2019-06-11 11:57:40 +0800
commita9791390a0e48a16aab06136129f586a26a69bdc (patch)
tree67e2d52825b08bd103fecb355742b417e9f53317 /core/src
parentf66b6be0910eaeb649e4718eff278b716080257e (diff)
enable xp compatibility mode
Diffstat (limited to 'core/src')
-rw-r--r--core/src/demo/xmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index fd4abbe1f..ea6f6765e 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -38,6 +38,9 @@ target("demo")
add_links("pthread", "dl", "m", "c")
end
+ -- enable xp compatibility mode
+ add_ldflags("/subsystem:console,\"5.01\"")
+
-- copy target to the build directory
after_build(function (target)
os.cp(target:targetfile(), "$(buildir)")