summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-30 22:38:21 +0800
committerruki <[email protected]>2021-06-30 22:38:21 +0800
commit46fd1844fc7a5456c4cd56bc2c251ed635d037ca (patch)
treec95d50cfce467132b0eb64df0625159cd433f49c
parent1ad77823ea35c43cad0ea502491cd2381608ca02 (diff)
fix white spaces
-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")