From 46fd1844fc7a5456c4cd56bc2c251ed635d037ca Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 30 Jun 2021 22:38:21 +0800 Subject: fix white spaces --- core/src/lua-cjson/xmake.lua | 4 ++-- core/src/luajit/xmake.lua | 2 +- core/xmake.lua | 2 +- 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") -- cgit v1.3.1