summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/lua-cjson/xmake.lua4
-rw-r--r--core/src/luajit/xmake.lua2
-rw-r--r--core/xmake.lua2
3 files changed, 4 insertions, 4 deletions
diff --git a/core/src/lua-cjson/xmake.lua b/core/src/lua-cjson/xmake.lua
index b25640cae..d2eec99f0 100644
--- a/core/src/lua-cjson/xmake.lua
+++ b/core/src/lua-cjson/xmake.lua
@@ -6,11 +6,11 @@ target("lua-cjson")
set_languages("c89")
end
add_files("lua-cjson/*.c|fpconv.c")
- -- Use internal strtod() / g_fmt() code for performance and disable multi-thread
+ -- Use internal strtod() / g_fmt() code for performance and disable multi-thread
add_defines("NDEBUG", "USE_INTERNAL_FPCONV")
if is_plat("windows") then
-- Windows sprintf()/strtod() handle NaN/inf differently. Not supported.
add_defines("DISABLE_INVALID_NUMBERS")
add_defines("inline=__inline")
end
-
+
diff --git a/core/src/luajit/xmake.lua b/core/src/luajit/xmake.lua
index 85b796331..cfee1f76e 100644
--- a/core/src/luajit/xmake.lua
+++ b/core/src/luajit/xmake.lua
@@ -75,4 +75,4 @@ target("luajit")
add_cflags("-Wno-error=unused-function")
end]]
-
+
diff --git a/core/xmake.lua b/core/xmake.lua
index 8187c5e93..16200869d 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -29,7 +29,7 @@ add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing", "-Wno-
add_defines("_GNU_SOURCE=1", "_FILE_OFFSET_BITS=64", "_LARGEFILE_SOURCE")
-- for the windows platform (msvc)
-if is_plat("windows") then
+if is_plat("windows") then
add_cxflags("-MT")
add_ldflags("-nodefaultlib:msvcrt.lib")
add_links("kernel32", "user32", "gdi32")