summaryrefslogtreecommitdiff
path: root/core/src/lua-cjson/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/lua-cjson/xmake.lua')
-rw-r--r--core/src/lua-cjson/xmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/lua-cjson/xmake.lua b/core/src/lua-cjson/xmake.lua
index 9c93fb562..76caf9fc7 100644
--- a/core/src/lua-cjson/xmake.lua
+++ b/core/src/lua-cjson/xmake.lua
@@ -2,6 +2,9 @@ target("lua-cjson")
set_kind("static")
set_warnings("all")
add_deps("luajit")
+ if is_plat("windows") then
+ set_languages("c89")
+ end
add_files("lua-cjson/*.c|fpconv.c")
-- Use internal strtod() / g_fmt() code for performance and disable multi-thread
add_defines("NDEBUG", "USE_INTERNAL_FPCONV")