summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-07-17 22:38:41 +0800
committerruki <[email protected]>2020-07-17 22:38:41 +0800
commitebed90e5a6f358e375a8efd0c57c29f4dca59331 (patch)
tree000941a9b7dc3182a5842c17a7659b0327865337
parenta9f65fda1e6fdf15d8e695308e39859141373503 (diff)
fix compile errors for vs2013
-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 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