summaryrefslogtreecommitdiff
path: root/core/src/lua-cjson
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-02 23:56:44 +0800
committerruki <[email protected]>2024-07-02 23:56:44 +0800
commit563923795457256a71b5b4f97bb6e7fe2292219b (patch)
treec6062d4d40208a1c6f3592d7e3982a750d253920 /core/src/lua-cjson
parentf158b9996d8a56ab9777f3b794224eab165660e1 (diff)
enable hex support for cjson on windows
Diffstat (limited to 'core/src/lua-cjson')
-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