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.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/lua-cjson/xmake.lua b/core/src/lua-cjson/xmake.lua
index 76caf9fc7..1d7229aa2 100644
--- a/core/src/lua-cjson/xmake.lua
+++ b/core/src/lua-cjson/xmake.lua
@@ -11,5 +11,6 @@ target("lua-cjson")
if is_plat("windows") then
-- Windows sprintf()/strtod() handle NaN/inf differently. Not supported.
add_defines("DISABLE_INVALID_NUMBERS")
+ add_defines("strncasecmp=_strnicmp")
end