From ebed90e5a6f358e375a8efd0c57c29f4dca59331 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 17 Jul 2020 22:38:41 +0800 Subject: fix compile errors for vs2013 --- core/src/lua-cjson/xmake.lua | 1 + 1 file changed, 1 insertion(+) (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 1d7229aa2..cdf3502a9 100644 --- a/core/src/lua-cjson/xmake.lua +++ b/core/src/lua-cjson/xmake.lua @@ -12,5 +12,6 @@ target("lua-cjson") -- Windows sprintf()/strtod() handle NaN/inf differently. Not supported. add_defines("DISABLE_INVALID_NUMBERS") add_defines("strncasecmp=_strnicmp") + add_defines("inline=__inline") end -- cgit v1.3.1