summaryrefslogtreecommitdiff
path: root/core/src/lua-cjson/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-02 22:23:05 +0800
committerGitHub <[email protected]>2024-07-02 22:23:05 +0800
commitcc13475cd3157afeceea81f0ee05d7aee358e197 (patch)
treec6062d4d40208a1c6f3592d7e3982a750d253920 /core/src/lua-cjson/xmake.lua
parent59327827e900ee5b61abba74e85d6081933d2a5a (diff)
parent563923795457256a71b5b4f97bb6e7fe2292219b (diff)
Merge pull request #5293 from xmake-io/json
Improve pure json support
Diffstat (limited to 'core/src/lua-cjson/xmake.lua')
-rw-r--r--core/src/lua-cjson/xmake.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/lua-cjson/xmake.lua b/core/src/lua-cjson/xmake.lua
index e4206c9fc..79f07d656 100644
--- a/core/src/lua-cjson/xmake.lua
+++ b/core/src/lua-cjson/xmake.lua
@@ -14,8 +14,6 @@ target("lua-cjson")
add_defines("NDEBUG", "USE_INTERNAL_FPCONV")
add_defines("XM_CONFIG_API_HAVE_LUA_CJSON", {public = true})
if is_plat("windows") then
- -- Windows sprintf()/strtod() handle NaN/inf differently. Not supported.
- add_defines("DISABLE_INVALID_NUMBERS")
add_defines("inline=__inline")
end