From 5c25e6f98afe0e8c814411e6f0ee4b24f19ddc83 Mon Sep 17 00:00:00 2001 From: leaf corcoran Date: Sat, 21 Sep 2019 17:31:38 -0700 Subject: support lua 5.2 with LUA_COMPAT_ALL --- lua_cjson.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua_cjson.c b/lua_cjson.c index 875bdaf..b8dac31 100644 --- a/lua_cjson.c +++ b/lua_cjson.c @@ -36,6 +36,9 @@ * difficult to know object/array sizes ahead of time. */ + +#define LUA_COMPAT_ALL 1 + #include #include #include -- cgit v1.2.3-55-g6feb