aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua_cjson.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lua_cjson.c b/lua_cjson.c
index 020ba21..45ebe78 100644
--- a/lua_cjson.c
+++ b/lua_cjson.c
@@ -36,10 +36,6 @@
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#define LUA_COMPAT_5_1 1
42
43#include <assert.h> 39#include <assert.h>
44#include <stdint.h> 40#include <stdint.h>
45#include <string.h> 41#include <string.h>
@@ -106,6 +102,10 @@
106#define json_lightudata_mask(ludata) (ludata) 102#define json_lightudata_mask(ludata) (ludata)
107#endif 103#endif
108 104
105#if LUA_VERSION_NUM > 501
106#define lua_objlen(L,i) lua_rawlen(L, (i))
107#endif
108
109static const char * const *json_empty_array; 109static const char * const *json_empty_array;
110static const char * const *json_array; 110static const char * const *json_array;
111 111