From 563923795457256a71b5b4f97bb6e7fe2292219b Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 2 Jul 2024 23:56:44 +0800 Subject: enable hex support for cjson on windows --- core/src/lua-cjson/xmake.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/src/lua-cjson/xmake.lua') 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 -- cgit v1.3.1