aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compat52.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat52.h b/compat52.h
index 0a1a135..457974c 100644
--- a/compat52.h
+++ b/compat52.h
@@ -142,4 +142,7 @@ typedef struct luaL_Stream {
} luaL_Stream;
+#define lua_rawlen(...) lua_objlen(__VA_ARGS__)
+
+
#endif /* LUA_VERSION_NUM < 502 */