aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleaf corcoran <leafot@gmail.com>2019-09-21 17:31:38 -0700
committerleaf <leafot@gmail.com>2020-04-25 14:13:42 -0700
commit5c25e6f98afe0e8c814411e6f0ee4b24f19ddc83 (patch)
tree1565eedeb31590421d478b79d6ef0b051b098474
parent0df488874f52a881d14b5876babaa780bb6200ee (diff)
downloadlua-cjson-5c25e6f98afe0e8c814411e6f0ee4b24f19ddc83.tar.gz
lua-cjson-5c25e6f98afe0e8c814411e6f0ee4b24f19ddc83.tar.bz2
lua-cjson-5c25e6f98afe0e8c814411e6f0ee4b24f19ddc83.zip
support lua 5.2 with LUA_COMPAT_ALL
-rw-r--r--lua_cjson.c3
1 files changed, 3 insertions, 0 deletions
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 @@
36 * difficult to know object/array sizes ahead of time. 36 * difficult to know object/array sizes ahead of time.
37 */ 37 */
38 38
39
40#define LUA_COMPAT_ALL 1
41
39#include <assert.h> 42#include <assert.h>
40#include <stdint.h> 43#include <stdint.h>
41#include <string.h> 44#include <string.h>